• Resolved bobsapp

    (@bobsapp)


    Hello. Thanks for the plugin. It is simple and performs the desired function. Unfortunately it does not work with variant products. On the buttons of a regular product the changes are visible, but on the button of a variant product the default inscription remains. This can be seen on the category page. On the product page everything is normal. Here is a screenshot – https://imgur.com/a/DqVmGah

    Is there any way to fix this? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi, @bobsapp.

    Thanks for using WooCommerce Custom Add To Cart Button. I’m sorry to hear you’re having difficulty with what appears to be the add to cart button customization not displaying for variable products viewed on a category archive page. I’m happy to help you with this.

    Please note that the default Add To Cart button text displayed for variable products in category archive pages is “Select options” and without any icons. The screenshot you shared suggests you’re using a variation swatches plugin that could be displaying its own Add To Cart button.

    To test for this, please could you temporarily change our plugin’s add to cart text and button background color to something different (e.g. “Test text” and change the color to red), and then see whether this is applied to both the add to cart button displayed in the single product page and the category page.

    If the test change is applied to only the add to cart button in the single product page and not the category page, then it confirms that the add to cart button displayed in the latter is displayed by something else on your site (likely the variation swatches plugin you’re using).

    Alternatively, you can also temporarily deactivate the variation swatches plugin and then check to see whether the add to cart button in the category page changes to the test color.

    I hope this makes sense and helps isolate what’s displaying the add to cart button on your site’s category pages. Please let me know how it goes.

    Best regards,
    Edge

    Thread Starter bobsapp

    (@bobsapp)

    Hello. Thank you for your reply. I changed the color of the button and it only changed for single items. Most likely you are right and some settings do not allow the color of variant products to change. If it’s not your plugin. I’ll deal with it myself. Thank you and have a nice day.

    Hi,?@bobsapp.

    On behalf of my colleague, you’re welcome! If you encounter any further issues or if there’s anything else we can assist you with in the future, please don’t hesitate to reach out and create another topic.

    I hope you have a wonderful day as well!

    Best regards,
    Adrian

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn’t work with variation items.’ is closed to new replies.