Forum


Remove "Buy it now" button when out of stock?

Jeffree
2%
Posts: 2
TF Shop
March 14, 2023

I'm setting this up to sell physical print editions of a magazine published 4 times a year. We have back issues, but the first 5 issues are sold out. I would like the items image to show, but not show the "buy it now" button.

I've tried every option "enable stock" set inventory to zero etc., but it still shows and they can still click to "buy it now". Seems like having a control of the individual product listing to turn this on or off (instead of at the menu level) would be a good idea.

Also, I turned off "add to cart" because it just goes to a blank page. How does one get the cart feature to function for the front-end user?

Tech Fry
100%
Posts: 898
March 14, 2023

Hello

Thank you for informing about the issue. We are working on both the issues - buy now button will not display is stock is empty; add to cart feature error.

Updated version of the component will be released by this week.

Eyeball-Industries
4%
Posts: 4
March 14, 2023

"buy now button will not display iF stock is empty"

What is the exact setting for this? I've tried every combination, turning in stock on/off, zero quantity, selected "sold out" and "out of stock" and it still always shows an actionable button.

Tech Fry
100%
Posts: 898
March 14, 2023

This is not working yet. We will update the extension by this week to fix this issue.

Eyeball-Industries
4%
Posts: 4
March 19, 2023

I just installed an update, the only difference now, instead of redirecting to the thank you page, it asks the visitor to sign in. The buy it now page still appears on items with zero inventory and sold out/out-of-stock settings. You can test it here https://compulsivemagazine.com/subscribe/compulsive-issue-01

The items with inventory work fine.

Tech Fry
100%
Posts: 898
March 21, 2023

If Enable Stock is enabled and Stock Quantity is zero for a product, then it should not show Buy Button. Please check these two settings. If still there is issue, I will need to investigate further. Please share Joomla login details to mail@techfry.com

For free products (with zero price), The Buy button redirects to login page if the user is guest user.

Eyeball-Industries
4%
Posts: 4
March 21, 2023

We don't have members or anything like that. We just need that button to not show. Redirecting to log in is kind of confusing for visitors. Anyway to do away with the buy button on sold-out items?

Tech Fry
100%
Posts: 898
March 22, 2023

If Enable Stock is enabled and Stock Quantity is zero for a product, then it should not show Buy Button. Please check these two settings.

If still there is issue, I will need to investigate further. Please share Joomla login details to mail@techfry.com

Eyeball-Industries
4%
Posts: 4
March 22, 2023

that seems to have did it. thank you!

Login to Reply