“add to cart” button without stock still there with the same colour

This topic has 4 replies, 2 voices, and was last updated 1 years, 11 months ago ago by Tony Rodriguez

  • Avatar: Kelgor
    Kelgor
    Participant
    December 30, 2022 at 01:37

    Hello, when a product is out of stock in the store, the purchase button is still there “add to cart” with a more faded tone.

    I would like to know if the style of the button can be changed when there is no stock, to a gray one for example, to clearly indicate to the buyer that there is no possibility of buying it.

    It would even be great if it could be replaced by a “let me know when it’s available”

    Is there any solution? Thank you

    3 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 30, 2022 at 06:45

    Hello, @Kelgor,

    By default on the out-of-stock products “read more” text will appear on the button and by clicking on the button the product will not be added to the cart. On the other products “Add to cart” will appear those are available in the stock see the image: https://postimg.cc/PLTh8X6X it’s the default behavior. If you want to change the word “Read more” it will only be possible with the translation. Check this article to know about translation: https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/

    Regards 8Themes Team.

    Avatar: Kelgor
    Kelgor
    Participant
    December 30, 2022 at 17:06

    Hello, thanks for answering.

    The query was more focused on the products once you access them

    As shown in the picture

    https://gyazo.com/8e8bd6f441871b1dc1c4780467dd01f6

    Could that “add to cart” color be modified? or replaced by “notify me when the product is available”

    Thank you

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 31, 2022 at 08:27

    Hello, @Kelgor,

    Thanks for the clarification. But sorry to say, that the add to cart button has the same class if you modify the color from the theme settings, or with the help of custom CSS code it will change the color completely for the available products and for the out-of-stock products as well. So the changes you require are only possible with the help of customization and we cannot cover customization issues in our support policy.

    Thanks for your understanding.

    Regards 8Themes Team.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.