Hello
I wanted to include few fields like UPC code, Case Pack and Unit ( whether sold as Piece, Display or Set) for the product. Is there any code available to do this. Any help is highly appreciated.
Thanks
Hello
I wanted to include few fields like UPC code, Case Pack and Unit ( whether sold as Piece, Display or Set) for the product. Is there any code available to do this. Any help is highly appreciated.
Thanks
http://www.zen-cart.com/index.php?ma...oducts_id=1140 is a very flexible way to add additional info.
and here is for UPC http://www.zen-cart.com/index.php?ma...roducts_id=651
~Melanie
PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
**I answer questions in the forum, private messages are not conducive to a helpful community.
I am interested in the MSRP add on, Ive downloaded the add on, how do I install it now?
Read the readme files/documentation that is included in the zip file of the module/addon. If there is no documentation, I wouldnt recommend to use it.
First Step: BACKUP all files. So that you can always go back to a working version.
Usually, a module is installed by copying all files to the corresponding zencart installation folder. All module files should be in the zencart directory stucture. You have to rename your personal template folder (often called YOUR_TEMPLATE). Check if you have to install a SQL Patch.
But if you dont find a similar information in the module documentation or the support thread of the module in the forum, think twice if you want to try it.
Visit Qacaq.com, your Online Jewelry Store in Malaysia .
Qacaq.com Australia - Your Gemstone Jewelry Store in Australia was launched.
Thank you Melanie.
I made some changes sucessfully. Created a field product_upc in product table. made the code change. I can see the field in Admim and can also update the field through Admin sucessfully.
however when I try to display the code in the front end it does not show.
This is what I did
step 1
/includes/languages/english/product_info.php
// included this code
define('TEXT_PRODUCT_UPC', 'UPC: ');
step 2
in tpl_product_info_display.php
<?php echo TEXT_PRODUCT_UPC. $products_upc . "\n"; ?>
But it does not print the upc code.
what is missing here?
Thanks
got it done. file inludes/modules/pages/product_info/main_template_vars.php takes the data available for product page
![]()