Two Add To Cart Button - by intelisystems

This topic has 5 replies, 3 voices, and was last updated 7 years, 12 months ago ago by Jack Richardson

  • Avatar: intelisystems
    intelisystems
    Participant
    April 22, 2016 at 15:56

    Hi,

    I am developing a site by using using Box Variant.

    As you can see, there is two “ADD TO CART” button are shown now for the Featured Products.
    I don’t know ahy this is happening now.

    Can you help me to fix this?

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 22, 2016 at 17:38

    Hello,

    The problem is related to the plugin “WooCommerce RealTimeDesigner”. Disable it and check featured products then.
    Also you need update Visual Composer plugin https://www.8theme.com/download-plugins/ as old version isn’t compatible with WordPress 4.5.

    Regards,
    Eva Kemp.

    Avatar: intelisystems
    intelisystems
    Participant
    April 22, 2016 at 19:10

    Thank you for your answer.

    I have to keep WooCommerce RealTimeDesigner plugin because it is reelated with a critical function.

    I contacted the plugin developer and get the following answer:

    That is related to your specific theme. The plugin is tested on main themes, so if you’re using highly customized ones it is possible that some actions are affected by that customization.

    However, I can give you the locations to look at.
    In the main plugin file, that button is added by the realtimedesigner_alter_cart_buttons_loop function.

    You need to adjust the current behavior of the remove_action and add_action lines based on the changed performed by your own style.
    In short that function checks if you have RTD links defined for the products.
    If so, then it hides the normal “add to cart button”, otherwise it adds the action (which normally does nothing as the action already exists).
    This means that the them you’re using already altered those action, and so what you have to do is fix the action names that shows/hides the button with whatever your theme is using.

    I am not good at coding at all and I don’t know what to do now…

    Please, contact administrator
    for this information.
    Avatar: intelisystems
    intelisystems
    Participant
    April 22, 2016 at 20:08

    I just decided to disabel Add To Cart button on category page.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 22, 2016 at 20:19

    Hello,

    So is your problem solved?

    Best regards,
    Jack Richardson.

  • Viewing 5 results - 1 through 5 (of 5 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.