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?Site URL: hidden Theme version: 2.5 WooCommerce version: 2.5.5
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.
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…Site URL: hidden Theme version: 2.5 WooCommerce version: 2.5.5
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
Seems you did not register purchase code for WooPress WordPress Support Forum to be able to create a topic on this forum.