• Resolved aohene

    (@aohene)


    Hi, is there a way to move the perzonalized button to anorther location? for example before or after the short description? thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • vita.printful

    (@everybear)

    Hey there,

    Thank you for reaching out!
    To make any edits to the location of the personalization button, you would need to manually edit the code of our plugin. Something to keep in mind is that if you modify Printful plugin code manually and later do an automatic plugin update, this update will override your initial change.

    You can also consider creating a custom plugin/script/code that would force the positioning of the personalization button.

    I hope this helps!

    To move button go to wp-content/plugins/printful-shipping-for-woocommerce/includes,
    open file “class-printful-template.php”
    And change this: woocommerce_after_add_to_cart_button (it is a place for button) in the line below
    add_action( ‘woocommerce_after_add_to_cart_button’, array( $this, ‘printful_template_customize_button’ ), 20 );

    For example, if you whant to move “personalize button” befor “add to cart button” change “woocommerce_after_add_to_cart_button” on “woocommerce_before_add_to_cart_button”.

    To change “personalize button” style go to wp-content/plugins/printful-shipping-for-woocommerce/includes/templates and open file personalize-button.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Move personalized button’ is closed to new replies.