Is this now un supported??
Printable View
Is this now un supported??
Goto (approx) line 290 of
includes\functions\functions_prices.php
and replace the block of code starting with "if ($display_normal_price == 0) {" with the code below:
PHP Code:
if ($display_normal_price == 0) {
// don't show the $0.00
if(($display_msrp_price!='')&&($display_msrp_price!='0')){
$save=$display_msrp_price-$display_normal_price;
$final_display_price = '<span class="pblock">'.TEXT_PRODUCT_MSRP.'</span><span class="smalltext1"><s>'.$currencies->display_price($display_msrp_price).'</s></span><br><span class="pblock">'.TEXT_PRODUCT_OUR.'</span><span id="elPrice" class="norm">'.$show_special_price . $show_sale_price . $show_sale_discount.'</span><br><span class="pblock">'.TEXT_PRODUCT_SAVE.'</span><span class="save">'.$currencies->display_price($save, '').' ('. number_format((($display_msrp_price - $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '%)'.'</span>' ;
} else {
$final_display_price = $show_special_price . $show_sale_price . $show_sale_discount;
}
} else {
if(($display_msrp_price!='')&&($display_msrp_price!='0')){
$save=$display_msrp_price-$display_normal_price;
$final_display_price = '<span class="pblock">'.TEXT_PRODUCT_MSRP.'</span><span class="smalltext1"><s>'.$currencies->display_price($display_msrp_price ).'</s></span><br><span class="pblock">'.TEXT_PRODUCT_OUR.'</span><span id="elPrice" class="norm">'.$show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount.'</span><br><span class="pblock">'.TEXT_PRODUCT_SAVE .'</span><span class="save">'.$currencies->display_price($save, '').' ('. number_format((($display_msrp_price - $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '%)'.'</span>' ;
} else {
$final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
}
}
guess that not for me... as it made no difference just changed to order and layout. lol
Price: Retail Price: £568.09
Our Price: £249.99
You save: £359.77 (63%)
Hey gang, quick question, I've been reading through this topic and haven't found anyone with my setup. I am hosted with Hostgator and when they installed ZenCart, they changed the 'admin' folder name to 'manage', and there are no folders or files with the prefix of 'zen_'.
Do you think it would be best for me when I install MSRP to do it manually all the way through rather than just copy the admin folder (changing the name to manage) and the includes folder and then just making the two required other changes.
I'm thinking that it might be better to do it manually so that I can make sure any reference to the admin folder is changed and also that any files that have the prefix on it, the prefix is removed.
Any suggestions or recommendations would be greatly appreciated.
Thanks
Disregard the previous post, I went ahead and installed it manually just to be safe. It shows up when I enter a product and it's price, then I click 'Preview' then "Update" and in IE9 I get a page not found, Firefox hangs up on an empty page, Google chrome gives me an error message saying:
The website encountered an error while retrieving http://xx.xx.xxx.xxx/~name/manage/pr...9fc78260456d8f. It may be down for maintenance or configured incorrectly.
'manage' is the same as 'admin'
I have sent a ticket into the hosting company support but not sure if they will help with MSRP but thought they might be able to see if it was an error on the server that caused it.
Thanks
Looking good so far, does anyone know where and what I need to modify in order to reduce the size of the font for all three lines? I would like to make it smaller as it's overlapping other text on my home page with the template I'm using. It might work if I can just remove the 'bold' from the code but not sure what to put in it's place. If that doesn't correct it then I would probably need to figure out how to make the font smaller.
Any help would be greatly appreciated.
Thanks
Jim
Example of what it looks like now except that the Our Price line is on top of the More Details text.
Retail Price: $189.95
You save: 32%
Our Price: $129.95
More details
Anyone have any ideas on this problem? It seems to work great except for this. If you need to see what I'm talking about click on the link in my signature, this site isn't complete yet but if you look at the home page at the first item under "New Products for April" you'll see what it is doing. It looks terrible the way it is.
Thanks
Jim
I'm having a rather odd issue with the MSRP contrib.
I had GoDaddy take my site down because I exceeded a file limit. This broke my Add to Facebook contrib as well as my MSRP contrib.
What happens is this:
On all products that were made previous to godaddy taking me down, the MSRP stuff is coming up just fine.
However, on newly added products or when making an update, msrp data does NOT show on the public side and will NOT show up when you go in to edit the product. You get a blank box to fill it in, and when you preview and then save, you get no error and no retained MSRP data.
It's not throwing any errors, and I just went through the installation again and it all seems right. I'm really struggling with this one.
An update to my post:
Im not sure if it is at all related but near the godaddy failure I installed easypopulate, but that addon has caused no issues and seems to work as intended.
Still need help!