Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28
  1. #21
    Join Date
    Jul 2012
    Posts
    12,981
    Plugin Contributions
    16

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

    Quote Originally Posted by rainbow_pixie_star View Post
    Hi,
    I use windows note pad.
    It is what I was suggested to me years ago. I haven't had problems using that before so I assumed it is ok?

    Thanks
    Amy
    In this case, what I would try doing would be to take the original file. Upload it to verify that all is "good". Then open the file, change nothing and save it. Then upload that and see if the problem persists.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  2. #22
    Join Date
    Jul 2012
    Posts
    12,981
    Plugin Contributions
    16

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

    Quote Originally Posted by swguy View Post
    @dbltoe: This is not correct. The code provided in post #9 parses perfectly.

    @rainbow: This block of code is identical to the contents of admin/includes/languages/english//recover_cart_sales.php line 18-30 as provided in the RCS mod. What did you change?
    Please see this post: https://www.zen-cart.com/showthread....59#post1350659

    She has been trying to provide all associated information and still getting errors.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  3. #23
    Join Date
    Jul 2012
    Posts
    12,981
    Plugin Contributions
    16

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

    Quote Originally Posted by torvista View Post
    This is my understanding of this mod and it's use.

    GDPR: You cannot send automatic (unsolicited) emails to people if they have not explicitly given you permission to do so, and you have recorded that acceptance.
    Since most people to be targeted by this mod will be new customers, that is highly unlikely.

    I will be removing this mod from my shop on the next upgrade/spring-clean/de-lousing as it seems now legally unuseable.
    Considering that there is not sufficient information available to reach a customer until they have provided some form of login related information, if the approval is requested/received (possibly needing some additional code in the plugin to validate that approval) then it could still be used and need not be blasted away.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  4. #24
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    1,817
    Plugin Contributions
    26

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

    if the approval is requested/received (possibly needing some additional code in the plugin to validate that approval)
    The nuts and bolts of this would be add a tickbox in the Create Account section to ask permission to send unsolicited emails, in addition to the one already asking for permission to store personal details. I would not tick such a box, and it would make me more wary of a site that asked for it, hence my decision to not develop this further.
    Steve
    github.com/torvista: Apsona (php7), BackupMySQL Admin/Auto, CEON URI Mapping (php7), Product Listing Sorter, Redsys payment module, Spanish Language Pack and more...

  5. #25
    Join Date
    Feb 2012
    Posts
    343
    Plugin Contributions
    0

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

    Hi thank you for your response.
    That is the original correct.

    So here is line 21 from the original...
    define('EMAIL_TEXT_NEWCUST_INTRO', "\n\n" . 'Thank you for stopping by ' . STORE_NAME .

    This is what I changed line 21 to to do my test before I spent time editing it fully. I did this to check it was editable and that it would work...
    define('EMAIL_TEXT_NEWCUST_INTRO', "\n\n" . 'Thank you for dropping by ' . STORE_NAME

    As you can see, I changed the word 'stopping' to 'dropping'.

    So I then proceeded to send an email as a test, and when I went into the customer part of the admin to send the test email, I got a blank white screen and no error message.


    I don't know what the issue could be as I edited something that I should be able to?

    The only other thing I can think of is to re download it, re install it and try it all again but I don't see the point as it works fine until I edit the email php file.

    If we cannot get to the bottom of it, don't worry, I will just leave it untill I have more time to look over it. I have searched the forum but I have not seen this issue!

    Thanks
    AMy

  6. #26
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    7,977
    Plugin Contributions
    65

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

    Quote Originally Posted by rainbow_pixie_star View Post
    Hi thank you for your response.
    That is the original correct.

    So here is line 21 from the original...
    define('EMAIL_TEXT_NEWCUST_INTRO', "\n\n" . 'Thank you for stopping by ' . STORE_NAME .

    This is what I changed line 21 to to do my test before I spent time editing it fully. I did this to check it was editable and that it would work...
    define('EMAIL_TEXT_NEWCUST_INTRO', "\n\n" . 'Thank you for dropping by ' . STORE_NAME

    As you can see, I changed the word 'stopping' to 'dropping'.

    So I then proceeded to send an email as a test, and when I went into the customer part of the admin to send the test email, I got a blank white screen and no error message.


    I don't know what the issue could be as I edited something that I should be able to?

    The only other thing I can think of is to re download it, re install it and try it all again but I don't see the point as it works fine until I edit the email php file.

    If we cannot get to the bottom of it, don't worry, I will just leave it untill I have more time to look over it. I have searched the forum but I have not seen this issue!

    Thanks
    AMy
    It looks like your edit "dropped" the trailing concatenation operator. Change
    Code:
    define('EMAIL_TEXT_NEWCUST_INTRO', "\n\n" . 'Thank you for dropping by ' . STORE_NAME
    to
    Code:
    define('EMAIL_TEXT_NEWCUST_INTRO', "\n\n" . 'Thank you for dropping by ' . STORE_NAME .

  7. #27
    Join Date
    Feb 2012
    Posts
    343
    Plugin Contributions
    0

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

    Hi,
    Thank you for noticing that as I wouldn't! However I assume that was my fault in not copying over properly as it is there on mine. I must have missed it.

    Is there a way to bypass this php document as most of what it is going to send in an email I don't want anyway.
    Is there a way to just send it as a jpeg in the email? Or would that just immediately flag up in peoples emails as junk?
    I do see a lot of companies do insert a jpeg instead which i would prefer as I do want to send an image.

    Thanks
    Amy

  8. #28
    Join Date
    Jun 2007
    Posts
    398
    Plugin Contributions
    0

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

    Rather than bypassing, if you don't like most of it, just delete the text inside the quotes.

    For example instead of:
    Code:
    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"
    	);
    Have this:
    Code:
    define('EMAIL_TEXT_BODY_HEADER', '');
    That way your edits are smaller. It will be easier to make changes in the future.

    In terms of sending just an image - yes the SPAM rating will be higher and some people don't have images auto turned on in their email programs so they may see nothing, but if it is what you want then do it.

    To do this, I think you just need to put a link to an image in the section where the text is. For instance:
    Code:
    define('EMAIL_TEXT_BODY_HEADER', '<img src="/images/myawesomewinbackimage.jpg">');
    Although really it should be a link to your site like:
    Code:
    define('EMAIL_TEXT_BODY_HEADER', '<a href="myaweseomwinbacklandingpage.html"><img src="/images/myawesomewinbackimage.jpg"></a>');
    I used to use this module and the superfluous text in the EMAIL_TEXT_BODY_FOOTER section is actually helpful for customers who think they placed their order, but didn't. Although I did trim it down and customize it to my needs.

 

 
Page 3 of 3 FirstFirst 123

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