How to add SKU in product

Tagged: ,

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeHow to add SKU in product

This topic has been marked as not a support question.

How to add product SKU in
- Product catalog
- Latest Product in front page
- Recommended Product in front page

Thanks you

 nont
July 7, 2012 at 7:36 am #11139

Try adding

but it does not work

 nont
July 7, 2012 at 9:49 am #11141

I mean i have try adding

?php echo $product_info['sku']; ?

but it’s does not work

 nont
July 7, 2012 at 11:09 am #11142

Hi,

Unfortunately, this is not a trivial modification and could not be covered by the free support offered by this forum. You could post your question in the official opencart forums, or seek a freelancer to do the job for you.

There are already some topics that discuss the same modification:

http://forum.opencart.com/viewtopic.php?f=131&t=50010
http://forum.opencart.com/viewtopic.php?t=10998

Best,
ThemeBurn team

July 9, 2012 at 5:13 pm #11187

Thank you for your response

but both modification method above is not work

The modification need to do inside the theme

catalog/view/theme/shoppica2/template/product/product.tpl
catalog/view/theme/shoppica2/template/product/catalog.tpl

please tell me what to add here


<div class="s_item_info">
<h3><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></h3>

@@@@@ HERE@@@

<?php if ($product['price']): ?>

—-
I have try these following line


<?php echo $product['sku']; ?>

<?php echo $product_info['sku']; ?>

<?php echo $product['model']; ?>

<?php echo $product_info['model']; ?>

<?php echo $model; ?>

but no one work

please help

  • This reply was modified 4317 days ago by  nont.
 nont
July 21, 2012 at 10:52 am #11603

Hi,

This:

<?php echo $product_info['sku']; ?>
<?php echo $product_info['model']; ?>

will only work in catalog/view/theme/shoppica2/template/product/product.tpl.

Best,
ThemeBurn team

July 25, 2012 at 11:54 pm #11741
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.