- This topic has 12 replies, 2 voices, and was last updated 2 months ago by David.
June 8, 2020 at 1:37 am #1318768Jorge
Hi when I set Ajax options in this plugin, many parts of the site stop working.
I´ve talked with the developer and he says this to me:
If the default AJAX settings are not working, your template has made some adjustments to the original WooCommerce structure and need configuration to work properly. To setup AJAX you will need to adjust your theme jQuery selectors that get the product wrapper, products and pagination. The default structure looks similar as the following attachment. In this default structure, we have a 1. ul.products which is our product wrapper. The corresponding AJAX Wrapper jQuery Selector, which if left blank will use the default value and look like this $(‘ul.products’) will be used when searching for the products wrapper in page. If your theme does not have the ul.products element that wraps your Shop products, you will need to adjust your wrapper jQuery selector to suit your theme. All selectors are set in the same way. If the original, default value is changed by your theme, then its AJAX jQuery Selector setting needs a proper value, so AJAX can function as expected. In the Specific Themes Installations we have covered some popular themes and their installation options. Lets check more elements that need adjustment if the theme is altering them. Number 2. li.type-product element which is our AJAX Product jQuery Selector. The 3. nav.woocommerce-pagination element is our AJAX Pagination jQuery Selector. These three are needed to setup AJAX correctly. Some themes change these classes and structures as you can see in the Specific Themes Installations Section. Further you can setup the 4. .woocommerce-results-count, or Result Count jQuery Selector, and 5. .woocommerce-ordering, or Result Count jQuery Selector if you use these in your Shop/Product Archives. Some themes also use different pagination functions and not the default WooCommerce pagination.php template. These can also be supported, as Kallyas theme is by naming the custom pagination function that is used in the Custom Pagination Function setting. For Kallays theme the pagination function that is called is named zn_woocommerce_pagination.
Here I send you the image.
Can you tell me how can I solve this, please? ThanksJune 8, 2020 at 5:19 am #1319002DavidStaffCustomer Support
GeneratePress uses the default Woocommerce templates – all of those classes that plugin requires are present and correct.
Which parts of the site break? And do those pages have woocommerce content that is displayed using Elementor ?June 8, 2020 at 10:02 am #1319558Jorge
David, thanks for your answer. For example this page breaks when activate Ajax in the XforWoocommerce filter plugin:
The link on “Cinturones” and “Hebillas” do not work.
Elementor is not used in that typ of pages.
Thanks for your helpJune 8, 2020 at 10:33 am #1319596DavidStaffCustomer SupportJune 10, 2020 at 4:14 pm #1322808Jorge
Thanks for your answer David. Those links work but because I have not activated the Ajax option of the Xforwoocommerce plugin. If I activate it, they do not work.
I´m talking with the developer also, so if here or you find any thing will tell each other.
ThanksJune 11, 2020 at 1:05 am #1323142DavidStaffCustomer SupportJune 11, 2020 at 1:08 am #1323146Jorge
Thanks David. Anyway, yesterday I sent a short video of the problem to the developer so can see what is not working. If you want, I can send it to you if you tell me an email address. If not I´ll let you know the progress of the issue.
ThanksJune 11, 2020 at 4:30 am #1323385DavidStaffCustomer SupportJune 12, 2020 at 9:21 am #1325300Jorge
Of course I´ll let you know as soon as we finihs it.June 12, 2020 at 9:24 am #1325304Jorge
David I´ll close this topic as i need to ask you a new thing. Please tell me how can I notify you about the solution of this matter, after I close this thread.
ThanksJune 13, 2020 at 3:35 am #1326068DavidStaffCustomer SupportJuly 20, 2020 at 10:32 am #1369956Jorge
David, I talked with the developer and he told me:
the problem seems that out Ajax system can’t control those WooComerce categories, it seems that was the issue. You can go to the Ajax tab and disable the Automatic Ajax and you will see all the things we can control like products, pagination, result count, etc… but this still is not a possibility. Now, this will be definitely optimized for the future but for now it seems not to be possible. If I hear anything new about this issue I will notify you.
David, as soon I know anything better, I´ll let you know.
A bug hugJuly 20, 2020 at 11:59 pm #1370404
- You must be logged in to reply to this topic.