Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
awato
tagDiv Member

Hi

OK. I will send email later!
Thank you.

awato
tagDiv Member

Hello.
I attach the image.
What I’m trying to say is that I just want to realize the same action as normal woocommerce add to cart button.

As you mentioned, the error message appears if the product is out of stock after clicking the button. However my opinion is that if the product is out of stock, add to cart button should be disable and I need to tell customers the product is out of stock before clicking the button.

Please check the screenshot.

View post on imgur.com

Even if the product is out of stock, add to cart button is still enable and that is different action from normal woocommerce add to cart function.

If I didn’t use the Newspaper custom template, add to cart button is disable when a product is out of stock like this image below.

View post on imgur.com

I just want to do the same thing.

Thank you.

  • This reply was modified 4 years by awato.
awato
tagDiv Member

P.S.
I’m using “Woo Add to Cart” module on the single product custom template.

awato
tagDiv Member

Hello.
Thank you for your reply.
I’m afraid but My question is about single product page.
I checked the stock status and it is “out of stock”.
As this video shows, on the product list page or product category page…the button shows “read more” if the product is out of stock. Like this page below.
https://shuiku.jp/product-category/semminer/semi-firststep

However, when I move to the single product page, the button is still “Add to cart”.
It seems that the functionality from Woocommerce is not working.

Actually, if I turned off the custom template for single product page and used default woocommerce single product page, the button automatically shows “out of stock”.

Viewing 4 posts - 1 through 4 (of 4 total)