Support » Plugin: PW WooCommerce Gift Cards » Change text “Gift Card Amount”

  • Resolved adriendm

    (@adriendm)


    Hello,

    Thanks for this great plugin. How to change the text on the product page “Gift Card Amount” into “Amount”

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author pimwick

    (@pimwick)

    The attribute name is defined in the plugin so that it will match and still allow other attributes. Follow these steps to change the “Gift Card Amount” attribute name:

    1. Log into your FTP site and edit wp-config.php
    2. Edit wp-config.php and scroll to the end and add the following bit of code:

    Scroll towards the bottom, and before the line that says “Happy blogging.” add this code ABOVE that line (translate as needed):

    define( 'PWGC_DENOMINATION_ATTRIBUTE_NAME', 'Gift Card Amount' );
    
    /* That's all, stop editing! Happy blogging. */

    3. Save the wp-config.php file and re-upload it to your server.
    4. Edit the PW Gift Card product and change the attribute name to match then save the product.

    Let me know if you have any questions!

    Plugin Author pimwick

    (@pimwick)

    I’m marking this thread as resolved, best of luck with your store!

    Hi there,

    thank you for your help. It worked well for me!

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