Home › Forums › WoodMart support forum › add to cart button in grid is shown twice
add to cart button in grid is shown twice
- This topic has 3 replies, 2 voices, and was last updated 1 year, 4 months ago by
Hung Pham.
-
AuthorPosts
-
March 13, 2024 at 6:22 pm #548894
thomas-8605ParticipantHello Woodmart Support. :-=
We wanna show COLOR and SIZE variation swatches in grid view. This is something very normal.
So lets install an plugin that will show our variation swatches in the grid.Afer doing this we have duplicated add to cart button in grid. Why?
We tested 4 premium plugins and all ends in duplicated ADD TO CART in our product grid.All plugins told us:
This is caused by your theme because because with hello theme and storefront theme its working fine.Then we contact elementor pro support::
“The double add to cart buttons is more of a challenge. Are you building the widgets on the home page and the archive pages using Elementor. I cannot find a hook in Elementor documentation to remove the add to cart button programmatically here. They seem to be using an unorthodox method to insert the button – so at the moment I’m not able to create a code snippet to remove it.“Please find attached screenshot and URL. The product grid on startpage and category page is showing the add to cart twice.
We need to show the add to cart button only by woodmart.
BR
TommyAttachments:
You must be logged in to view attached files.March 15, 2024 at 10:00 am #549226
Hung PhamKeymasterHi thomas-8605,
Thanks for reaching to us and take our apologies for the long delay in answering.
I first kindly request you to conduct a check by activating the default WordPress Theme, such as Storefront or Twenty Twenty-Three (Appearance > Themes) and keep WoodMart Core and Elementor or WPBakery plugins activated. This is to ascertain whether the issue you are experiencing is due to our theme or not.
Please note that we do not give a guarantee for full theme compatibility with all existing 3rd party plugins. Sometimes, not always, you need additionally customize the theme or plugin to make them work together. Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our basic support.
Regards,
March 19, 2024 at 1:08 pm #550269
thomas-8605Participant“I first kindly request you to conduct a check by activating the default WordPress Theme, such as Storefront or Twenty Twenty-Three (Appearance > Themes) and keep WoodMart Core and Elementor or WPBakery plugins activated. This is to ascertain whether the issue you are experiencing is due to our theme or not.”
First we disabled all other plugins.
We keep only
woocommerce plugin
elementor plugin
woodmart core plugin
swatch plugin-> After disabled your theme everything works fine.
-> After enabled your theme again: add to cart button is duplicated in grid.Now elementor checked also again that issue and confirmed: Your code base at in grid to hook/add the add to cart button is not correct and you need to fix that issue by your side and its not an temporary/compatibility issue.
Your theme does not work with all! swatch plugins on wordpress.org and this is an dramatic and massive limitation.
We installed fresh wordpress, elementor and woodmart. After that we installed all free swatch for grid plugins on wordpress.org and 5 plugins (paid) from envato. And all showing duplicated add to cart button based on your bug. Elementor also checked that again with us and confirmed: the code base in your theme is not fine at this place.Please help us.
BR
TommyMarch 20, 2024 at 8:01 am #550530
Hung PhamKeymasterHi thomas-8605,
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently, if it’s possible.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register