Hello,
I have created a Views that list products.
In the loop of the Views, I have place a modal window in order to display all needed product info + add to cart button.
As I need to display all options that are linked to the product, I need to use the single page add to cart button.
For that, in the modal, I have placed an iframe that display the content template of the specific product.
Now, the issue I have is that the page display (the page where the Views is) is very long (I suppose this is due to the number of modal + iframe - ie : 1 per product displayed by the Views).
Is there a way to have only one modal window + iframe and pass the product id when click on the modal button?
This means I need a modal button in the loop of the Views and have a single modal window integrating the iframe.
Regards
Pat
This type of custom JavaScript isn't supported here in the fourms. Please refer to our support policy: https://toolset.com/toolset-support-policy/
We are not able to create or support custom solutions for you.
Hi Christian,
In fact, I'm not focus on this type of solution. I want just to find a better solution that the one Luo gave me to be able to integrate the single add to cart button on an listing page.
Any idea ?
Regards
Pat
I don't have any ideas to support your custom project, sorry. Do not try to use one button for all the products.
Hi Christian,
Seems that this will bring more issues than positive points, so I will go back to the standard way of doing and place a link to the product page instead of using a modal !
Regards
Pat