Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1246595

    Hi there

    Been a few years since i last posted. I am running enfold 4.7.6.1 and everything appears fine up until you select a facet on the left hand nav. Once selected the quantity buttons disappear (+/-)

    https://jaycor.staging.wpengine.com/products/
    Before selecting a facet
    Before selecting a facet
    http://ibb.co/XX35yPf

    After
    After selecting a facet
    http://ibb.co/CBBDQhk

    I did check with the plugin developer and their response was :

    It looks like those + / – buttons are loaded by JS on page load rather than being in the HTML, so whatever that JS is needs to be re-run on facet’s refresh when filters are selected.

    Since this is usually theme or plugin specific, it would help if you would also ask your theme’s support.

    Here is the explanation you can share with them from our docs:

    Some plugins and themes use JavaScript to modify the layout, load images, or apply animation effects. Some examples include masonry layouts, isotope, image lazy loading, and sliders. These scripts run on page load, but do not usually run after each FacetWP ajax refresh, meaning that they’ll likely need to be manually re-triggered within a facetwp-loaded event.

    Ask their support what JavaScript from their theme (or plugin) is needed to re-trigger the layout.

    Please can you assist?

    #1246804

    I think i got it.
    In enfold/config-woocommerce/woocommerce-mod.js

    I added the line

    $( document ).on( 'facetwp-loaded', avia_apply_quant_btn );

    after here

    $('body').on( 'wc_fragments_refreshed', avia_cart_dropdown_changed );

    And it seems to have resolved the issue.

    #1246979

    Hi,

    Great, I’m glad that you found a solution and thanks for the update. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.