• Resolved khoavo

    (@khoavo)


    Hi there:

    I noticed after clicking to Create a “PW Gif Card” product to start selling the Gift Cards, where the product page gets generated. It doesn’t allow me to edit the Attribute name. After I type in the new Name to edit the default label “Gift Card Amount”, it doesn’t Save. When I click to Update the page, it refreshes and reverts back to the default “Gift Card Amount” label. And sometimes it would save my new edited Attribute row, but also display the original default Gift Card Amount” data again. Very odd.

    For example, first this: Screenshot: https://prnt.sc/vjm64e, then after page Update, it looks like this, screenshot: https://prnt.sc/vjme04 and https://prnt.sc/vjme5x

    It appears to be hooking back to the default “Gift Card Amount” label after I click Save Attributes and page Update. Please help. Thanks!

Viewing 4 replies - 1 through 4 (of 4 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.

    Thread Starter khoavo

    (@khoavo)

    Hi, Thanks for the response. If there’s a WordPress update in the future, wouldn’t that overwrite the settings in the wp-config.php with the new code you suggested?

    If you could update your plugin on a future update to allow changing the attribute name that would be super helpful.

    KV

    Plugin Author pimwick

    (@pimwick)

    Hi KV, changes to wp-config.php are specific to your site and do not get overwritten by updates. With that being said, we do plan on making this a setting sometime in the future so I will update this thread to notify you when that happens.

    Thread Starter khoavo

    (@khoavo)

    Excellent customer support. Thank you.

    I’ll just leave it as is for now and wait for your future plugin update in order to edit the attribute name.

    KV

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to change Attribute Name & Edit’ is closed to new replies.