• Resolved pexys

    (@pexys)


    Hi,

    I have 2 problems since I installed your plugin:

    1. Whatever the recipient of the gift card, the specified email address doesn’t receive email with the gift card (even in spam). The administrator receives the email in 2 copies.
    I would like the recipient of the email to receive the email informing them that they have received a gift card.

    2. I followed the tutorial here: https://www.pimwick.com/gift-cards/ to personalize the email of the gift card. Except that I don’t see the changes thereafter.
    I would like to add an image at the top in the email and change the background color of the text and the background color of the Reedem button.

    Thanks !

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter pexys

    (@pexys)

    Hi,

    I create you an account on website with Shop Manager role with your email :

    User name : SupportPW
    Password : xHAl8e7ZhPWymS55PypO

    Thanks !

    Plugin Author pimwick

    (@pimwick)

    I was able to log in however I am unable to view any orders. The screen stops halfway after loading which indicates a server error is occurring.

    You can find out what is causing the crash by looking at the debug log file:

    1. Log into your FTP site and edit wp-config.php
    2. Set the following values (add the lines if they don’t exist):
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );
    3. Return your WordPress admin area and view an Order to trigger the crash.
    4. Now go back to FTP and view the file /wp-content/debug.log
    5. Return to wp-config.php and set DEBUG back to false (reverting the changes made in Step 2)

    Thread Starter pexys

    (@pexys)

    Hello,

    If you wish, I can give you access to FTP so you can do the manipulation yourself, it suits you?

    thank you for your reply

    Thread Starter pexys

    (@pexys)

    Ok i sent you email with access FTP.

    Please check 🙂

    Have a nice day !

    Plugin Author pimwick

    (@pimwick)

    Just a quick update. The problem stems from the Ajax add to cart feature in your theme. It is not correctly pulling in all of the form fields (To / From / Message) and so that does not get added to the cart.

    I am downloading your theme files to reproduce the problem locally to find a solution. As soon as I have an update I will let you know.

    Thread Starter pexys

    (@pexys)

    Ok contact me when is good.

    Plugin Author pimwick

    (@pimwick)

    I was able to find the problem. Your theme (Royal) uses a custom AJAX Add-To-Cart feature that hard codes the Quantity and Variation ID fields, rather than pulling in the entire form. As a result, the To / From / Message fields are never passed to the cart data.

    Follow these steps to make the Add-to-cart process work correctly for the PW Gift Card product type:

    1. Download the functions.php from your FTP server at /wp-content/themes/<your theme>/functions.php
    2. Keep a backup of functions.php in case there are problems.
    3. Edit functions.php and scroll to the very end and add this code.

    Note: if the last line is “?>” then put this code *above* that line. Otherwise, this code goes at the very end of the file:

    // Added by Pimwick, LLC (us@pimwick.com)
    // Disable the AJAX add-to-cart for the PW Gift Cards product since it
    // does not correctly add the fields to the cart item data.
    function pimwick_et_option_ajax_addtocart( $value ) {
        global $product;
    
        if ( is_a( $product, 'WC_Product_PW_Gift_Card' ) ) {
            return false;
        }
    
        return $value;
    }
    add_filter( 'et_option_ajax_addtocart', 'pimwick_et_option_ajax_addtocart' );

    4. Save the functions.php file and re-upload it to your server.

    If you have any problems, replace functions.php with your backup file.

    Let me know if you have any questions!

    Thread Starter pexys

    (@pexys)

    Hi,

    I use an other plugin that work perfectly.

    Thanks !

    Plugin Author pimwick

    (@pimwick)

    Great, thanks for letting me know. Closing this ticket, let me know if there is anything else I can help with.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Issue with recipient emails + customize emails’ is closed to new replies.