kalanta![]() 2009-06-03 16:38 | I inserted new field in my product template and database. Call it $aData[sNewVariable]. I can see it in product detail page but i can't see this variable in my orders_basket, orders_form, admin/order and maybe in email with order details pages. How to make this new variable available in all these files? In my opinion it should be something with core/orders.php » Quick.Cart v3.x |
beholder2009-06-03 17:47 | you have function listProducts() in the core/orders.php. When you add your variable there, you can 'see' it from templates you list. |
beholder2009-06-03 17:47 | I still would love to see your webshop, you seem to be very able in making changes, I am really intrigued. |
beholder2009-06-03 17:48 | just out of pure curiosity, of course. |
kalanta![]() 2009-06-03 21:29 | I'm not satisfied with the answer above. I want to know where and what exactly i need to do. It's about PHP changes only. |
beholder2009-06-03 21:45 | sure, but I do not know what exactly you did and where when you 'can see it in product detail'. |
kalanta![]() 2009-06-04 08:52 | 1. in xx_products.def.php I inserted 'sSecondName' => 8... this is ok |
kalanta![]() 2009-06-15 21:48 | this should be like this http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=5571, just my new variable (text) instead of the image. |
beholder2010-03-15 02:24 | hey Kalanta, did you solve this eventually? |
kalanta![]() 2010-03-20 20:52 | I don't remember this.. |
Deivids2011-10-04 09:20 | I need something like this one. I would love to add BARCODE to my products. So I created a new field in products.tpl, created the new varriable sbarcode in products database. Works properly. Now I can see my barcode on product detail page, but there is a problem - I can't see this barcode in shopping cart, order form and order print pages. How can I solve this problem? |
Deivids2011-10-04 11:42 | I figured it out. Thanks for the help to Opensolution.org |