Product ID # to SKU # on the details page
I know I am just not thinking at the moment, but does anyone know how to change the product ID # to the SKU # on the details page?
For ex. I want the product ID # that get generated after each product to change to the SKU #. Can be done in two ways: -Change the product ID # to the SKU# in the database -Change the display on the details page to display the SKU# instead of the product ID # Any thoughts? :wink: |
try
{$product.productcode} |
Thanks Shan!
But now how can I change the product title to not show the product ID but show the SKU # {$product.productcode} on the details page. I looked at the dialog.tpl file but I can't take the product ID number out there, so where do I need to look? Anyone? |
in v3.4.* try looking in xcart/include/func.php
around line 1190 look for Quote:
change to Quote:
That will display the product code instead of the product ID |
It works great!
:D It works great - Thanks for the mod !
|
this worked well for me also. great mod. thanks.
|
I'm running v4.0.2, and I just did this mod. It works fine, however in v4.0.2, it's line 1962 of the "func.php" code that needs to be changed from "productid" to "productcode".
Thanks! |
Double post. The DELETE function should be enabled. :?
|
All times are GMT -8. The time now is 10:19 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.