If you uncheck the option available to buy in product options, product can't be added to cart but product page still shows "Add to cart". Should not it be hidden?
This is the default functionality from Prestashop, the add to cart button only disables the click event. If you want to hide it you can use custom CSS.
Thank you!
Best regards,
Naik - Lightatend Team
A good review and positive comment would help us to keep doing what we do bestRate now
{if $product->available_for_order} {$product->available_for_order} {block name='product_add_to_cart'} {include file='catalog/_partials/product-add-to-cart.tpl'} {/block} {else} <p>Product is not available for order.</p> {/if}
Why can't you build this into your theme. Cause it is misleading to the customer that the button is still here. When the button does not work and it do not give an alert, what is the use of showing the button?
If you uncheck the option available to buy in product options, product can't be added to cart but product page still shows "Add to cart". Should not it be hidden?
Thanks
This is the default functionality from Prestashop, the add to cart button only disables the click event. If you want to hide it you can use custom CSS.
Thank you!
Best regards,
Naik - Lightatend Team
A good review and positive comment would help us to keep doing what we do best Rate now
Our support time Monday-Saturday (9am-6pm GMT+7)
I solved it with this piece on my child theme:
{if $product->available_for_order}
{$product->available_for_order}
{block name='product_add_to_cart'}
{include file='catalog/_partials/product-add-to-cart.tpl'}
{/block}
{else}
<p>Product is not available for order.</p>
{/if}
We are glad to hear this is resolved.
Please do not hesitate to contact us if you have any other needs.
Best regards,
Naik - Lightatend Team
A good review and positive comment would help us to keep doing what we do best Rate now
Our support time Monday-Saturday (9am-6pm GMT+7)
Why can't you build this into your theme. Cause it is misleading to the customer that the button is still here.
When the button does not work and it do not give an alert, what is the use of showing the button?
Hi,
For SEO tools, all components must be sufficient even if it is not used.
Products will still be found on search engines like Google,...
Thanks!
Best regards,
Naik - Lightatend Team
A good review and positive comment would help us to keep doing what we do best Rate now
Our support time Monday-Saturday (9am-6pm GMT+7)
Okee understand, but can you then add a warning msg so the customer can also understand the same?
Unfortunately Prestashop does not have this function at the moment.
Best regards,
Naik - Lightatend Team
A good review and positive comment would help us to keep doing what we do best Rate now
Our support time Monday-Saturday (9am-6pm GMT+7)