Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default recover_cart_sales mod can't customise...

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]

    Hello,

    Was looking for a thread for this but I cant seem to see one...

    I installed recover_cart_sales_405 latest version and it all looks fine and the test email worked.
    However when I customise the email in the document, whether it is the whole message or just one word, it then stops the addon working. I get a blank screen when I go into the admin area to send the email.
    I haven't changed any main parts of the code in the document, just the email body which surely should be editable?

    Thanks
    AMy

  2. #2
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: recover_cart_sales mod can't customise...

    When you get a blank screen (or partial blank screen), generally a myDEBUG- log file is created as described in this FAQ: http://www.zen-cart.com/content.php?124-blank-page
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: recover_cart_sales mod can't customise...

    Hi,
    I have reverted it back for now as I wasn't sure if I had done something or if anyone knows why.
    So if not then I will ahve to re install it and look for a debug log I guess

    Thanks
    Amy

  4. #4
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: recover_cart_sales mod can't customise...

    Quote Originally Posted by rainbow_pixie_star View Post
    Hi,
    I have reverted it back for now as I wasn't sure if I had done something or if anyone knows why.
    So if not then I will ahve to re install it and look for a debug log I guess

    Thanks
    Amy
    The debug log is likely still present, but having removed everything associated does mean that the "problem" has been removed.

    Generally speaking, yes should be able to modify the code. If there was an error in the modification then that could have caused the problem. Pretty much only the error log would be able to identify what the issue was (although some problems can be seen when just looking at the code).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: recover_cart_sales mod can't customise...

    As to a thread about the module, the first place to look for one is at the location to download the module: https://www.zen-cart.com/downloads.php?do=file&id=25
    Which in this case identified the forum support thread as: https://www.zen-cart.com/showthread....8-Recover-Cart
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: recover_cart_sales mod can't customise...

    Ok, i'll re install it and check the log.

    Thanmk you
    Amy

  7. #7
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: recover_cart_sales mod can't customise...

    Hi,
    Debug says
    PHP Parse error: syntax error, unexpected ')' in /.../public_html/.../admin/includes/languages/english/recover_cart_sales.php on line 21
    Line 21 is where I changed the one word so I can customise the text. I only changed the one word, no code or punctuation.

    Thank you
    Amy

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: recover_cart_sales mod can't customise...

    Quote Originally Posted by rainbow_pixie_star View Post
    Hi,
    Debug says
    PHP Parse error: syntax error, unexpected ')' in /.../public_html/.../admin/includes/languages/english/recover_cart_sales.php on line 21
    Line 21 is where I changed the one word so I can customise the text. I only changed the one word, no code or punctuation.

    Thank you
    Amy
    well. it looks like you changed it incorrectly.

    if you post the lines 19-23 here, i'm sure somebody can tell you where you went adrift.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #9
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: recover_cart_sales mod can't customise...

    Hi,
    Here is a bit more than those few lines. I have highlighted what I would have thought I should be able to edit to say what I want it to. the same would apply to the main body text and footer etc, only changing the text between ' '.
    Is this correct? I have highlighted what I would change in a festive orange :)

    define('EMAIL_SEPARATOR', '------------------------------------------------------');
    define('EMAIL_TEXT_SUBJECT', 'Inquiry from '. STORE_NAME );
    define('EMAIL_TEXT_SALUTATION', 'Dear ' );
    define('EMAIL_TEXT_NEWCUST_INTRO', "\n\n" . 'Thank you for stopping by ' . STORE_NAME .
    ' and considering us for your purchase. ');
    define('EMAIL_TEXT_CURCUST_INTRO', "\n\n" . 'We would like to thank you for having shopped at ' .
    STORE_NAME . ' in the past. ');
    define('EMAIL_TEXT_BODY_HEADER',
    'We noticed that during a visit to our store you placed ' .
    'the following item(s) in your shopping cart, but did not complete ' .
    'the transaction.' . "\n\n" .
    'Shopping Cart Contents:' . "\n\n"
    );

    Thank you
    Amy

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,140
    Plugin Contributions
    11

    Default Re: recover_cart_sales mod can't customise...

    Looks like you added the parentheses around the s to show
    item(s)
    Since the parentheses are used in PHP code, you will need to "escape" them so the system does not think is is PHP versus just a character.
    Code:
    'We noticed that during a visit to our store you placed ' .
    'the following item\(s\) in your shopping cart, but did not complete ' .
    Similar to what is done with \n

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Can I customise the categories like this?
    By PuckQ in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 May 2009, 07:20 PM
  2. Header.php - can't customise
    By Jaydee in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Apr 2008, 07:29 AM
  3. What can we customise?
    By megadood in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Jan 2008, 04:44 PM
  4. can i customise paypal xpress - zen cart side?
    By what44 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 30 Nov 2007, 10:08 PM
  5. where can I find an patch or mod that I can put in my admin panel so I can actually e
    By cyber1store in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2006, 06:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR