Does anybody know a way to change the 'Add to cart' button to display the stock availability instead? ie In stock, 3-4 days etc.
I did have a look for the easy option of an extension, but couldn't see anything suitable.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
To change 'Add to cart' button text edit catalog/controller/language/en-gb.phpTheLegendP wrote: ↑Wed Sep 09, 2020 1:00 amHi,
Does anybody know a way to change the 'Add to cart' button to display the stock availability instead? ie In stock, 3-4 days etc.
Find:
Code: Select all
$_['button_cart'] = 'Add to Cart';
Code: Select all
$_['button_cart'] = 'In stock';
How your customers will know that what should i do next when they can see the item is in stock proceed to add to cart checkout
Unless you put the button text like 'In stock Add to Cart Now etc'
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
If you do have stock, just leave "add to cart", besides who cares how many you have in stock other than you.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
So your saying that the "add to cart" text can not display the stock status?
I know you can change the add to cart to anything you want, but I thought there would have been a way to change it to display the availability of a product (as it does for example if a product is out of stock).
The reason I want to change it is simply because some items are in stock for immediate dispatch, and others are a special order. Although it does display this on the product page under availability, I would rather it also displayed it as part of the add to cart button, so it was clear if the product was in stock or a special order.
If product['quantity'] < 1 it shows image in corner with stock status text. Also checks in cart Add if product quantity > 0. If not in stock, add to cart button in modules redirect to product page. There Add to cart button displays stock status text and is disabled.
Nice workpprmkr wrote: ↑Thu Sep 10, 2020 12:47 amSee demo. Also see category 'Presents' ...
If product['quantity'] < 1 it shows image in corner with stock status text. Also checks in cart Add if product quantity > 0. If not in stock, add to cart button in modules redirect to product page. There Add to cart button displays stock status text and is disabled.
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
Users browsing this forum: No registered users and 261 guests