Changing the location of the PPOM fields in the product page
-
Hi Support, I thought I’d raised this but I can’t find any record so apologies if this is a repeat but it’s very important.
On this page https://geckoglazing.co.uk/product/gecko-panes/ we need the PPOM input fields to be above the measurement calculator. You did give us some code a while ago to do this but it looks like an update has overwritten it. The code was:
Thanks for using PPOM, you need to decrease the hook priority and for this you need to make this change in classes/plugin.class.php
Set last priority 15 to 1 here:
add_action ( ‘woocommerce_before_add_to_cart_button’, ‘ppom_woocommerce_show_fields’, 15);We have re added this code and the page has not changed. So 2 questions)
1) Can you send me a fix please?
2) How do we stop the code being overwritten in the future if this is what happened when the plugin was updated.Thanks again for your help with this.
Best regards, Alan
The page I need help with: [log in to see the link]
- The topic ‘Changing the location of the PPOM fields in the product page’ is closed to new replies.