• Hi, I have a problem with the final price on product page not updating, it might be a problem with me using Elementor, or maybe Im not doing something right, so if you could help me out I would appreciate it.

    Thanks!

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Sark

    (@sarkware)

    Hi,

    In your wp-admin go to Fields Factory -> Settings in that page there is an option called Pricing Rules Behaviour in that option click on the Update Price and choose Yes

    Once done click Save Changes button.

    Thread Starter josefnosek023

    (@josefnosek023)

    Hi, thanks for the quick response! I have it on yes, but the price is still not updating

    Plugin Contributor Sark

    (@sarkware)

    Your theme is using different selector for displaying pricing.

    In the Fields Factory Settings page go to Pricing Rules Behaviour property and click on the Price Tag Selector tab there select Custom in that text box put the following selector value woocommerce-Price-amount.amount bdi and hit Save Changes button.

    Let me know if it solved.

    Thread Starter josefnosek023

    (@josefnosek023)

    Hi Sark!

    thanks again for your support, I really appreciate it.

    But unfortunately this did not solve the issue.

    Plugin Contributor Sark

    (@sarkware)

    One small correction, I forgot to prefix with .

    Pls update the selector value as following .woocommerce-Price-amount.amount bdi

    Plugin Contributor Sark

    (@sarkware)

    @josefnosek023 I see that it is working but no space between currency symbol & price, also you wanted the symbol after the price right.

    You can edit the JS file located in wc-fields-factory/assets/js/wcff-client.js
    Unfortunately its minified, but you can update it anyway.

    Open that file in text editor and find & replace the following

    Find : $(wccpf_opt.price_container).html(wccpf_opt.currency+d)
    Replace it With : $(wccpf_opt.price_container).html(d +" "+ wccpf_opt.currency)

    Save the file and clear the cache, then check again.

    I will release a proper fix, in my next release.

    Thread Starter josefnosek023

    (@josefnosek023)

    Hi,

    Thank you, it is working properly now! But I found another problem, this time with adding pricing rule for colors, as it does not work and forms for “If user picked color” and “expected value” change to “Days, specific days,…” after putting a HEX color there and updating field.

    Plugin Contributor Sark

    (@sarkware)

    Not sure how it happening, since “Days, specific days,…” these things applicable for Date Picker only.

    Are you seeing any JS error in browser’s console.?

    Thread Starter josefnosek023

    (@josefnosek023)

    Now it just fails to load the rules.

    error in console:

    Uncaught TypeError: Cannot read properties of undefined (reading 'dtype')
        at a.renderFieldLevelRules (wcff-admin.js?ver=4.1.3:1:46765)
        at a.renderSingleView (wcff-admin.js?ver=4.1.3:1:74606)
        at a.responseHandler (wcff-admin.js?ver=4.1.3:1:92827)
        at Object.success (wcff-admin.js?ver=4.1.3:1:90652)
        at c (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8:2:28327)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8:2:29072)
        at l (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8:2:79901)
        at XMLHttpRequest.<anonymous> (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8:2:82355)
    caseymarketingcreations

    (@caseymarketingcreations)

    Hi @sarkware

    Thanks for the support above.

    I am having the same problem and have tried everything above.

    I have 2 files:

    wcff-client.js
    wcff-client-src.js

    But the code you mentioned above $(wccpf_opt.price_container).html(wccpf_opt.currency+d) is not found in either of them.

    Please can you help?

    Thanks, Sophie

    P.S. This is the page, it’s set to public but hidden – https://www.maxwellmelia.co.uk/shop/online/online-hair-extensions/test-online-fusion-bonds-training-copy/

    caseymarketingcreations

    (@caseymarketingcreations)

    Hi, is anyone able to assist with my query above please?

    We urgently need to get these products live thank you!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Price does not update’ is closed to new replies.