Market lets you sell products online using the Wordpress platform.

You must be logged in to post Login

Search Forums:


 






How to Add a Message at the bottom of your Shopping Cart Contents Page

UserPost

1:17 am
June 13, 2009


Market Admin

Admin

posts 2765

With the release of Market 3.5, you now have the ability to add a brief message to the bottom of your shopping cart contents page.

This is a great place to comfort your customer with a reminder of your guarantee, your service, your speedy delivery, your quality, or whatever else you can think of to reinforce your visitor's trust.

To edit the message, simply go to the theme editor tool of the Wordpress administration area.  Select the file "mkt_language.php" for editing.

Do a search for the line:

define('mkt_SHOPCART_FOOTER_MESSAGE', '');

Add your message between the set of single quotes near the end. 

When you're finished, it will look something like:

define('mkt_SHOPCART_FOOTER_MESSAGE', 'Remember, all of our products are 100% fully guaranteed!');

Save the file, and that should do it.

One word of caution...

Single quotes in your message can break the code.  If you need to use a single quote, such as in a word like don't or wouldn't, then simply add a backward slash before the single quote to "escape" the character meaning.  (eg.  don\'t  &  wouldn\'t)

5:50 pm
February 17, 2010


lindsaymacvean

ireland

Member

posts 14

Is is possible to add an image to the bottom of the shopping cart next to the footer message.

I want to add a guarantee seal '100% customer satisfaction'

my website is located at http://www.macvean.org

11:25 am
February 18, 2010


Market Admin

Admin

posts 2765

In your theme files, there is a file named "mkt_language.php".


Look for the variable "mkt_SHOPCART_FOOTER_MESSAGE"

Between the quotes, you can add your message.  I believe you can also add some HTML code if you want as well.  Just make sure you don't include any apostropes.  (unless you preceed with an escape character / )

7:49 pm
February 18, 2010


lindsaymacvean

ireland

Member

posts 14

I ended up hardcoding:

  1. Using an ftp client like filezilla
  2. Go to the 'ajCart' folder inside your main theme folder.
  3. Open cart_bottom.php
  4. Around line 38 after the <p style="text-align: center;">
  5. Replace:

    <img src="'.$GLOBALS["CARTDIR"]. 'cards_accepted.gif" border="0" name="submit" alt="'.mkt_SHOPCART_PAYMENT_IMAGE_ALT.'">
            </p>' . mkt_SHOPCART_FOOTER_MESSAGE . '
  6. With:

    <img src="'.$GLOBALS["CARTDIR"]. 'cards_accepted.gif" border="0" name="submit" alt="'.mkt_SHOPCART_PAYMENT_IMAGE_ALT.'">
            </p><img src="'.$GLOBALS["CARTDIR"]. 'guarantee.jpg" height="97px" name="guarantee" alt="" vspace="5px" hspace="5px" width="100px" border="0" style="float:left;"/><br>' . mkt_SHOPCART_FOOTER_MESSAGE . '

    Note: The extra <br> and float:left; helps the formating

  7. Finally upload your graphic (here called 'guarantee.jpg') to the 'ajCart' folder.

Hope this helps others. There is an example at http://www.macvean.org (click on view cart top right)