• Resolved Machine IT Services

    (@machineitsvcs)


    I have added an action using wccpf_after_fields_end to my store, which updates some of the fields dynamically using $_GET parameters and was hoping there was some function you could share that would recalculate the prices below the fields. When the action runs, the fields are updated, but the prices are not displayed. Thank you in advance.

Viewing 1 replies (of 1 total)
  • Yes it have, add after updating all fields use

    jQuery( "[data-is_pricing_rules=yes]" ).trigger( "change" );.
    it is a javascript method so you should cover with script tag.

Viewing 1 replies (of 1 total)

The topic ‘Prices update after field rendering’ is closed to new replies.