I am setting up my website on version 2.3.0.2 and want to display the the quantities of each colour I have setup in options / select.
Currently if a customer views a product on my website they can select the dropdown and choose a colour which is ok but I also want it to show the quantity of stock I have of that particular colour for my customers to be able to see.
I have inputted for a product already the amount of stock I have for each colour in admin but it does not show this on the website.
Is there a code I can add to the products.tpl file or maybe somewhere else to make this visible?
Many thanks for anyone that can help
../catalog/controller/product/product.php
find on line 352:
change to:
find on line 352:
Code: Select all
'name' => $option_value['name'],
Code: Select all
'name' => $option_value['name'] . ' (' . $option_value['quantity'] . ')',
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
wow, thank you so much for the quick reply, i have applied this and it it works just as I wanted it to.
Your a star!
Thanks so much again
Your a star!
Thanks so much again
Hi grgr
Not related to this post but do you know a code that I can add to make the background fixed but the website scroll?
Many thanks
Not related to this post but do you know a code that I can add to make the background fixed but the website scroll?
Many thanks
Who is online
Users browsing this forum: paulfeakins and 457 guests