• Resolved maraza9090

    (@maraza9090)


    it doesn’t change the image when you select the color

    I have the astra pro theme active and when I am on the store page of my website, and I select a color of a product, the image of that color does not change, it seems that there is a conflict since when I select the color of another product it just changes color From the previous one, this happens in the PC version and in the mobile version. On the other hand, when I select a color on the store page, the button that is configured by php in “QUOTE” changes to “ADD TO CART.” I would like to know if you can help me with this because the website changes when I change color. color on the I need store page that does not change that button on the store page and remains with the function of redirecting to the product page (use this php function inserted in the functionsphp file of my astrachild child theme: add_filter(‘ woocommerce_product_add_to_cart_text’, ‘custom_add_to_cart_text’, 10);

    function custom_add_to_cart_text() {
    return ‘QUOTE’;
    }” . I hope you can help me, thanks in advance.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aamir

    (@aamiribsf)

    Hello @maraza9090,

    Greetings of the day!

    Regarding the issue with the product image change, I reviewed the situation and noticed that a hover image style is applied to the shop page. This means that when a user hovers over a product, the hover image appears, which overrides the image of the selected color variation. Moving the cursor away from the product will display the correct image of the selected product. To resolve this, please disable the hover image style in the theme settings so that the selected color image is shown directly.

    Regarding your second query about the “Add to Cart” text, this functionality allows customers to add products to the cart directly from the shop page by selecting a variation and clicking the button. Currently, there is no built-in option to change the “Add to Cart” functionality. However, you can modify the text using the Loco Translate plugin.

    I hope this information helps.

    Best regards,

    Plugin Support Aamir

    (@aamiribsf)

    Hello @maraza9090,

    It’s been a while since we haven’t heard from you so we are marking this thread as resolved.

    If you faced any other issues while using our product, feel free to start a new thread.

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.