
Originally Posted by
NathanielB
Thanks schoolboy, I got it installed just fine in a couple of minuets :)
Now I just need to get adding the RRP to each products. Do you know if there is a way for telling zen to put -15% in the RRP price box on all product in xyz category?
Your RRP will be HIGHER than your selling price, so you don't want to SUBTRACT 15%... You want to ADD 15% to the value held in the MSRP field.
If your price is $10.00
Then...
Your MSRP should be higher... $11.50 (10 + 15%).
It's a while since I used this module, but I think it create a field in the products table of the database, called "products_msrp".
PLEASE CHECK YOUR DATABASE to see if indeed this field is present. (You can see it using phpMyAdmin via your cPanel for your webhost.)
If there is a field called products_msrp, you can run a short piece of SQL to add a value to that field:
BACKUP YOUR DATABASE BEFORE RUNNING THIS SCRIPT!
Code:
UPDATE `products` SET `products_msrp`=`products_price`*1.15
*1.15 is the mathematical way of saying "add fifteen percent" to another value. In our case, it t means "MULTIPLY the products_price value by 1.15, and put the result into the products_msrp field."
The best place to run this script is in your zencart admin panel, under TOOLS >>> INSTALL SQL PATCHES.
BACKUP THE DBASE FIRST!