| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Product ID # to SKU # on the details page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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? |
|||||||
#2
|
|||||||||
|
|||||||||
try
{$product.productcode}
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
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? |
|||||||
#4
|
|||||||
|
|||||||
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 |
|||||||
#5
|
|||||||
|
|||||||
It works great!
It works great - Thanks for the mod !
|
|||||||
#6
|
|||||||
|
|||||||
this worked well for me also. great mod. thanks.
|
|||||||
#7
|
|||||||
|
|||||||
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!
__________________
Jason streetwerke.com X-Cart 4.0.11 Gold(AOM/Pconf/GiftReg/Affiliate) MySQL 4.0.24-standard PHP 4.3.11 |
|||||||
#8
|
|||||||
|
|||||||
Double post. The DELETE function should be enabled.
__________________
Jason streetwerke.com X-Cart 4.0.11 Gold(AOM/Pconf/GiftReg/Affiliate) MySQL 4.0.24-standard PHP 4.3.11 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|