[SOLVED] Adding live calculated price on multiple places

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED] Adding live calculated price on multiple places

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6166
    Jörg Hille
    Participant

    Hello again,

    is there a function for displaying a “live” / ajax calculated price in multiple places on the single-product page?

    I have products with lot of fields so when the visitor has scrolled to the “add to cart” button after choosing variations/options of the product, the visitor can’t see the price added by default to the top of the field list. So I would like to display a “live” calculated price right before the “add to cart” button. Is it possible?

    Thank you in advance.

    Kind regards
    Jörg

    #6168
    Enrico
    Participant

    Hi,

    Try this (In your js template):

    $( ".qty" ).after( '

    ' );

    Enrico

    #6167
    Jörg Hille
    Participant

    Works perfect! Thank you!

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