PPOM with ELEMENTOR – Responsive problem
-
Hello,
This is to report a Bug with Elementor.
I created a Unique Product Page Model.
I added 2 SECTIONS, one hidden for Mobile and the second one hidden for Desktop and Tablets.
Inside each SECTION I added the ADD-TO-CART button with PPOM Fields.Problem : Total Prices do not display in Mobile.
Explanation : PPOM Fields are identified by ID. So my DOM contains 2 buttons (one hidden, one displayed) identified with the same ID ! This creates problems with querySelectors !
FYI I added custom Javascript code to do something else. In order to select my elements I added unique IDs for each section in Elementor. So I have for example : document.querySelector(“#section_desktop #ppom_textfield1”) and document.querySelector(“#section_mobile #ppom_textfield1”). This allows me to run my Custom Script.
I hope this is clear. Can you solve that problem ?
- The topic ‘PPOM with ELEMENTOR – Responsive problem’ is closed to new replies.