By default this field are not present. You need to add them on product.tpl file
Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com
You can pretty much add anything you like by editing the controller/product/product.php
Find
Add
for example
this will make $sku be available in your view file, repeat for your other variables
then in your product.tpl for your current theme
Add
where you need it to be displayed
Find
Code: Select all
$data['model'] = $product_info['model'];
Code: Select all
$data['sku'] = $product_info['sku'];
this will make $sku be available in your view file, repeat for your other variables
then in your product.tpl for your current theme
Add
Code: Select all
<?php if ($sku) { ?>
<span><?php echo 'SKU: '; ?></span> <?php echo $sku; ?>
<?php } ?>
Freelance Opencart 1.5.x and 2.x Developer - Available For Hire
Latest Opencart 2 Project --> http://www.falcon-rangecookers.co.uk
I did all you suggested for 2 fields.... sku and location.
Neither one of them shows on the product page.
Correction... they now show up! I disabled all my mods and then the fields appeared.
So I enabled all the mods again, and they are still there. Not sure what caused it yet.
Thanks for the help...
Update... seems if I edit the product.tpl, I need to refesh the mods before the changes take affect on the web site. Is this normal behavior?
Neither one of them shows on the product page.
Correction... they now show up! I disabled all my mods and then the fields appeared.
So I enabled all the mods again, and they are still there. Not sure what caused it yet.
Thanks for the help...
Update... seems if I edit the product.tpl, I need to refesh the mods before the changes take affect on the web site. Is this normal behavior?
Who is online
Users browsing this forum: Google [Bot] and 17 guests