• Resolved greenhope

    (@greenhope)


    Hello guys, as the title suggests that when the product is variable, the cart icon not appears. In case the choice is voluntary, how can I add another type of icon with this type of products.
    Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Yes that’s right, it will only show the icon (and modify the text) for ‘Add to Cart’ buttons. Variable products on the category page link you through to the single product page and have a ‘Select options’ button, so these aren’t affected by the plugin. If you view the variable product page itself, you’ll see the icon does appear.

    Thanks,
    Andy

    Thread Starter greenhope

    (@greenhope)

    Hi Andy, but so it is not the maximum of life on a graphic level.. it would not be possible to use another icon?

    I’m trying to play in the control panel with the customization of the wordpress css, but it’s a bit limiting.. I always get error if I try to insert an image in the code string.

    • This reply was modified 6 years ago by greenhope.
    Andy Keith

    (@andykeith)

    Hi,

    You can enable the icons on variable products by forcing the text to be replaced. Try adding this code to your theme’s functions.php file:

    add_filter( 'wcatc_is_text_replaceable', '__return_true' );

    Andy

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Icon not appear when product type variabile’ is closed to new replies.