Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Fairbanks, Alaska
    Posts
    426
    Plugin Contributions
    0

    Default Advert Solutions code added to e-mails

    I added the advert solutions mod to my cart and I would like to see if I could add the code to my welcome and order, shipping and news letter e-mails but I am not sure how to go about it, any help would be great here is the code;

    <img src="http://www.advertsolutions.com/images/adverts/g/gooeee-com/advert.jpg" border="0" usemap="#map" />
    <map name="map" id="map">
    <area shape="rect" coords="36,42,143,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&pid=1" target="_blank" />
    <area shape="rect" coords="176,42,283,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&pid=2" target="_blank" />
    <area shape="rect" coords="316,42,423,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&pid=3" target="_blank" />
    <area shape="rect" coords="456,42,563,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&pid=4" target="_blank"/>
    </map>

  2. #2
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Re: Advert Solutions code added to e-mails

    To put it in the order update email
    In admin/includes/languages/english/orders.php

    Find

    define('EMAIL_TEXT_STATUS_PLEASE_REPLY', 'Please reply to this email if you have any questions.' . "\n");
    change it to include your code I have done it for you below.


    define('EMAIL_TEXT_STATUS_PLEASE_REPLY', 'Please reply to this email if you have any questions.<p><img src="http://www.advertsolutions.com/images/adverts/g/gooeee-com/advert.jpg" border="0" usemap="#map" />
    <map name="map" id="map">
    <area shape="rect" coords="36,42,143,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&p id=1" target="_blank" />
    <area shape="rect" coords="176,42,283,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&p id=2" target="_blank" />
    <area shape="rect" coords="316,42,423,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&p id=3" target="_blank" />
    <area shape="rect" coords="456,42,563,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&p id=4" target="_blank"/>
    </map> ' . "\n");
    Last edited by alray10; 3 Feb 2008 at 01:45 PM.

  3. #3
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Re: Advert Solutions code added to e-mails

    To add it to your welcome email.

    includes/languages/english/create_accountphp

    Find

    <p>Member services include:' . "\n\n" . '</p>
    <li><strong>Permanent Cart</strong> - Any products added to your online cart remain there until you remove them, or check them out.' . "\n\n" . '<li><strong>Address Book</strong> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.' . "\n\n" . '<li><strong>Order History</strong> - View your history of purchases that you have made with us.' . "\n\n" . '<li><strong>Products Reviews</strong> - Share your opinions on products with our other customers.' . "\n\n");
    And Add your code or just changeby copying and paste the code below


    define('EMAIL_TEXT', '
    <p>Member services include:' . "\n\n" . '</p>
    <li><strong>Permanent Cart</strong> - Any products added to your online cart remain there until you remove them, or check them out.' . "\n\n" . '<li><strong>Address Book</strong> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.' . "\n\n" . '<li><strong>Order History</strong> - View your history of purchases that you have made with us.' . "\n\n" . '<li><strong>Products Reviews</strong> - Share your opinions on products with our other customers.<p><img src="http://www.advertsolutions.com/images/adverts/g/gooeee-com/advert.jpg" border="0" usemap="#map" />
    <map name="map" id="map">
    <area shape="rect" coords="36,42,143,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&p id=1" target="_blank" />
    <area shape="rect" coords="176,42,283,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&p id=2" target="_blank" />
    <area shape="rect" coords="316,42,423,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&p id=3" target="_blank" />
    <area shape="rect" coords="456,42,563,141" href="http://www.advertsolutions.com/index.php?option=com_adverts&task=onClick&sid=61&p id=4" target="_blank"/>
    </map>' . "\n\n");

  4. #4
    Join Date
    Oct 2007
    Location
    Fairbanks, Alaska
    Posts
    426
    Plugin Contributions
    0

    Default Re: Advert Solutions code added to e-mails

    Thank you I am going to try these, you where very helpful!

  5. #5
    Join Date
    Oct 2007
    Location
    Fairbanks, Alaska
    Posts
    426
    Plugin Contributions
    0

    Default Re: Advert Solutions code added to e-mails

    I tried the one for the welcome e-mail and it makes the space for the ad but the html does not show up, just create an account and see for yourself.

    www.gooeee.com

  6. #6
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Re: Advert Solutions code added to e-mails

    Quote Originally Posted by colemanpa View Post
    I tried the one for the welcome e-mail and it makes the space for the ad but the html does not show up, just create an account and see for yourself.

    www.gooeee.com
    Just set up a test account and found the reason
    The reason why there is just a blank space is your emails are sent it plain text.
    You need to switch them to HTML you can see how to do that here https://www.zen-cart.com/tutorials/i...hp?article=113

    I also suggest you switch your customers log in so that HTML is selected as their email preference most customers never bother to change this so they will see your adverts.

    I can't remember how you do this but it is some where in admin.

  7. #7
    Join Date
    Dec 2007
    Posts
    2
    Plugin Contributions
    1

    Default Re: Advert Solutions code added to e-mails

    Hi,

    Glad that you are getting on with our banner adverts. If you have any further questions, donīt forget that you can email us directly too - support at advertsolutions.com.

    Hope that we can help you. We are also working on improving the whole experience, so please do email with any further suggestions.

    The AdvertSolutions Team

  8. #8
    Join Date
    Oct 2007
    Location
    Fairbanks, Alaska
    Posts
    426
    Plugin Contributions
    0

    Default Re: Advert Solutions code added to e-mails

    "I also suggest you switch your customers log in so that HTML is selected as their email preference most customers never bother to change this so they will see your adverts."

    I found that under configuration-customer details-customer default email preference

    thanks you have been a great help!

  9. #9
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Advert Solutions code added to e-mails

    Is there a way to tell it to only go 3 products wide? Problem I ran into was the width being limited and it caused the image map links to fail basically because the networking site I tried it on resized the banner narrower than the image map coordinates.

    I think if you could tell it somewhere in the script how many products wide you want it to be then it would give the users more flexability. If it could be set in the admin side of the zencart that would be a good thing. Perhaps making it a part of the code would work too that you paste into where ever you want the banner to appear. That scenario could let me go 2 wide on site X, 3 wide on site Y, or 4 wide on site Z.

    Just an idea.

 

 

Similar Threads

  1. Coupon Code added randomly to attribute?
    By LissaE in forum General Questions
    Replies: 0
    Last Post: 7 May 2009, 12:46 AM
  2. My Account button has added code...
    By friends1976 in forum General Questions
    Replies: 2
    Last Post: 6 Feb 2007, 03:51 PM

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