| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Change 'SKU1' to '1' | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am trying to change
customer/main/product_details.tpl so that the website shows Product code 1 instead of Product code SKU1 My client wants the term 'SKU' removed from the site, because customers won't know what an 'SKU' is. I know that the code that produces it is in customer/main/product_details.tpl, on line 46: Code:
but I don't know where to find the $product variable, nor how it works. Can anybody help? (I am also interested in learning how the variables work, so if you know of a good beginner's tutorial, I would be very grateful.) Many thanks.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#2
|
|||||||
|
|||||||
![]() SKU####
That's defined via the product page. If you wish to remove SKU, then the best way to avoid having to do modifications to code is just not to have the SKU in the item SKU. |
|||||||
|
#3
|
|||||||||
|
|||||||||
![]() Does he want to change from SKU:1 or SKU1?
If it's SKU: that you want to remove do it in languages, bl_sku just clear SKU from the box. SKU1 just clear SKU before you type the product code 1 Kev |
|||||||||
|
#4
|
|||||||
|
|||||||
![]() Thanks guys, I understand what is happening now. The product pulls the term 'SKU1' from the Product Management page, so there isn't anywhere I can change the variable to stop it pulling through the 'SKU' part, it's simply the same string that was entered (or automatically created) in the Product Management page.
So in this case (we haven't entered many products yet), the solution will be to simply change SKU1 to '1' as we enter new products.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|