• Resolved ofiktiv

    (@ofiktiv)


    Good afternoon.
    For variable products, provided that the price of the variation is different, 2 prices appear:
    1) Price range from lowest to highest (top)
    2) Price of currently selected variation (below variations)

    the second price, which displays the digit of the currently selected variation class –

    <span class="price">
    <span class="woocommerce-Price-amount amount">

    After the Load More Products for WooCommerce plugin is triggered in the mode of both Infinity scroll and Load more button – the prices of the products remain only in the form of a range (1st price line), the 2nd line with the price of the currently selected variation is not loaded, the plugins which add custom fields also stop working to products – when trying to add a product that is loaded after clicking on the “load more” button to the cart – it gives an error:
    “Please go to <product name here> to select product settings.

    Maybe there is some javascript that can be entered into the plugin settings block, which in turn can somehow restart the woocommerce processes on the page and draw the prices correctly for the products that were loaded after the button was pressed?

    • This topic was modified 2 years, 2 months ago by ofiktiv. Reason: translation of the message into English

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    Script to update functionality you can place in plugin settings -> CSS/JavaScript tab -> After update field.

    You can try to add this code

    jQuery(".variations_form").each(function() {
        jQuery(this).wc_variation_form()
    });

    Regards,
    Oleg

    Thread Starter ofiktiv

    (@ofiktiv)

    Thank you so much, it’s great, everything worked right away

    hello,
    i am using this plugin but same issue after load more the the price range button is not changing the variable prices here is the website link https://daintylinen.com/product-category/bedding/

    i already used the jQuery script, not nothing happened

    jQuery(“.variations_form”).each(function() {
    jQuery(this).wc_variation_form()
    });

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hello,

    How functionality to change price by clicking values was added to the products? Is it your theme functionality or some plugin?

    You need to contact plugin/theme developer who created this feature and ask for the code to re-initialize it after ajax loading of the products. They will provide you a code. You can add this code to ouy plugin(settings page -> tab Javascript -> field After Update). Each tim next page is loaded our plugin will run the code provided by the feature developer.

    Regards,
    Dmytro

    yes its a plugin, ok i will contact
    thanks for the recommendation..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘woocommerce-Price-amount does not display price after loading’ is closed to new replies.