Hello:
I would like to add the SKU to my product page. I went to Products/Custom Fields, then selected "Property", but I don't see the "SKU" anywhere. What am I doing wrong?
VM 3.0.16
Thank you in advance ;-).
I found this in a previous forum......
"You just need to add "Property" type custom field and select SKU property. This field was added in VM 3.0.10 http://virtuemart.net/news/latest-news/472-release-of-3-0-10"
After you've added it to your custom fields you must go to your product edit, choose tab custom fields and add your new custom field to your product. Now you can choose SKU.
Thank you so much!! That worked. Is there a way to globally add it to all our products, instead of manually adding it to each product?
in your product template
<?php echo $this->product->product_sku ?>
its not a custom field, its a standard field
we were told off when we said that.. ;)
http://forum.virtuemart.net/index.php?topic=133267
yes we were :), still prefer it though :)
Quote from: GJC Web Design on October 11, 2016, 18:28:37 PM
we were told off when we said that.. ;)
http://forum.virtuemart.net/index.php?topic=133267
Quote from: AH on October 11, 2016, 21:19:27 PM
yes we were :), still prefer it though :)
I just looked at that custom field. Honestly, did not know it was there.
I meant that I prefer to create the override as you suggested pro 8)
Thank you. Forgive me for asking, but how do I add a title to the coding (I am not good with PHP). When I add the coding, it shows the SKU, but there is no label indicating it's an SKU.
Thank you!!!
Also, let's say that you have a shoe, with many sizes (in the custom field). The SKU only updates if you make one change. For example,
Drop down in Cart shows.....
Shoe Size 7
Shoe Size 8
Shoe Size 9
If you switch from 7 to 8 the SKU is updated. However, if you switch again to the next size (from Size 8 to Size 9) the SKU does not update.
This is true if you use the custom field SKU OR add the PHP coding.
SKU: <?php echo $this->product->product_sku ?>
look for javascript errors etc
So simple...thank you so much!!!