![]() |
How to display 'base' sku for variants - 4.3
Remember seeing this one for previous versions, but things have changed in 4.3. When you display the sku on the products list, it shows the first variant. Need to display the 'base' sku (i.e. the sku of the main product) instead. Any ideas where that little PHP snippet lives?
|
Re: Anyone know how to display 'base' sku for variants - 4.3
Sometimes I feel like x-cart has one person who understands and writes the variants code and he works to ensure his job security :)
Open include/search.php FIND: Code:
foreach ($variant_properties as $property) { Replace with: Code:
foreach ($variant_properties as $property) { |
Re: Anyone know how to display 'base' sku for variants - 4.3
Going to move this to Custom Mods :)
|
All times are GMT -8. The time now is 02:11 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.