MSRP Prices for Zen Cart

By Melanie Prough on Wednesday, August 5, 2009
Filed Under: Zen Cart Marketing, Zen Cart Tutorials












This has been a long time request from Zen Cart shop owners…. MSRP pricing for products. This tutorial will show you how to install, configure and use the MRSP Pricing module for Zen Cart.

The MSRP addon is going to be a moderate level tutorial and will take you about a half an hour. We will step you through the installation and some additional things you can accomplish with this module as well. To get you going you first need to grab the MRSP module for Zen Cart 1.3.8…. The likelihood is this module will work for older versions of Zen Cart as well.

MSRP Pricing for Zen Cart Tutorial

  1. Backup your database before beginning.
  2. There is a small bit of SQL to add to your database in Tools >> Install SQL Patches. This creates the table to hold the MSRP price value for each product. Simply paste the single line of included SQL from the installation instructions in the field and hit send.
  3. Next, the author was kind enough to create not only the divs for this module, but also supply us with the basic CSS to add to our stylesheet.css. The CSS is also in the installation instructions, just paste it at the bottom of your stylesheet and save.
  4. Most shop owners will have customized the files included in this installation, so a manual installation is preferred… and instructions are provided in the installation instructions. Any files you have not customized can be uploaded directly from the module installation files.
  5. Once complete, pop open a product in your Zen Cart admin to see the newly created MSRP input field shown below.

Zen Cart MSRP Pricing in Admin

Zen Cart MSRP Pricing in Admin

You will then save you product as usual. All of your products will now have this imput field… But those not provided a MRSP value will not display one on the catalog product page. Here is what it will look like on your product pages in the default installation and styling.

Product Page MSRP Display

Product Page MSRP Display

There are some alterations that can be made to this module’s display and functionality that may be helpful for your store.

We can easily edit the language for the display. In the product_info.php provided in includes/languages/english you will find the following defined text values:

define(‘TEXT_PRODUCT_MSRP’, ‘Retail Price: ‘);
define(‘TEXT_PRODUCT_SAVE’, ‘You save: ‘);
define(‘TEXT_PRODUCT_OUR’, ‘Our Price: ‘);

The bold text can be edited to display in any way you see fit. Some shop owners will want to use the definition MSRP instead of Retail Price for example.

In the provided functions_prices.php a handy coder can easily switch the “Save %” to “Save $”, which some Zen Cart owners will find more effective.

Your provided basic styling CSS as shown below can also be fully edited to control the display of your MSRP pricing.

.smalltext1 {
font-family:Tahoma;
text-align: center;
color:#000000;
font-weight:bold;
}
This controls the style of the strike through regular price display.

.save {
font-family:Tahoma;
text-align: center;
color:#636466;
font-weight:bold;
}
This controls the display of the “You save” display

.norm {
font-family:Tahoma;
text-align: center;
color:#981B1E;
font-weight:bold;
}
This controls the display of the default red “Our Price” text

The beauty of the module is that the created value of the MSRP price can be queried and used for product feed generation for those shopping sites that allow utilization of MSRP or Retail pricing display for your uploaded products. This is a very robust marketing advantage for your shop… It free and fairly easy to implement.

Tags: , ,

Comments are closed.

Template Original