Why would you want to get rid of the strike through that is the reason for this mod to show your customers that they are not paying MSRP
Printable View
Hiya,
I'd like to try and use this mod in a slightly different way, but am having trouble...
My client has a 3.0% discount on all cash/bank deposit payments (courtesy of the Payment Type Discount mod), but want's to reflect that discount on the product info page, ie:
Regular price: $5.00
Cash price: $4.85
The price will be the regular price right up until checkout when the Payment Type discount kicks in, so I don't need to pass the correct value to the shopping cart.
Can anyone help with this, please?
TIA!
Hello can anyone help me with this module please?
I am getting a blank home page on my website having installed the module on 1.3.8. I have spent nearly a whole day looking into this. :frusty:
Looking at debugging the error message is:
PHP Parse error: syntax error, unexpected $end in /home/liquidat/public_html/includes/functions/functions_prices.php on line 1359
This is the code debugging refers to 1359 is the last line shown.
I checked this area of the file and it wasn't even an area amended by the install so I am confused.Code:// BOF: flat amount discounts
case ($discount_type_id == 20):
// flat amount discount Sale and Special without a special
if (!$attributes_id) {
$sale_maker_discount = $sale_maker_discount;
} else {
I am also a novice in this area!
I stepped back through the install steps, and once I restored the original functions_prices.php file the site was back to normal. I have tried starting from scratch about 3 times but same error.
I can get into the admin area fine and see the new MSRP field on the product page to add the new price into. It is just this blank home page and I don't know how to go about fixing it.
Can anyone help me please?
Thanks in advance
I have had another go at installing this but still getting the same problem. I am really stuck. Can anyone offer any advice or help? I have struggled through a lot of stuff to get this far with the website and am reluctant to give up here but can't see a way forward unless I can resolve this.
Thanks for any help/advice given - even suggestions for an alternative way to solve the problem
I think you are missing something a part of the file or something, because when i first loaded this mod i got the blank page as you did then i restored every modified file back to default and got the home page to work, then i went through the mod installion slowly and compared files for a site i added to and knows that it works. anyway it is working on my test site, i am sure i missed something the first time around, here is the link http://lextechs.net/shop/index.php?m...&products_id=2
I can send you zip file with the files i have modified and work, you would have to use a compare program to compare the files i send you to the ones in your installation of zencart.
Yes that location in the instruction is a type O the file is actually located "catalog/admin/includes/modules"
Hello Lextechs
Yes - please send me the zip file for me to have a compare with - thank you.
I am so excited (sad!!) because I finally got this working all by myself!!! :clap:
For anyone else really battling my problem turned out to be in step 5. I had cut and pasted code from the 'read me' instruction file into the functions_prices.php file. On going through the install for about the 5th time line by line i just noticed a visual difference in the code. The code I had cut and pasted had no gaps around the = sign, whereas the code in the original file had gaps.
Here's what I mean
Instruction text file step 5 says:
I changed this toCode:Find:
$display_sale_price = zen_get_products_special_price($products_id, false);
After add:
$display_msrp_price=zen_get_products_msrp_price($products_id);
$display_price_save=zen_get_products_price_save($products_id);
I hope this saves someone the headache I had. Now it is done it does work well and I am pleased so keep perservering if you are struggling!Code:After add:
$display_msrp_price = zen_get_products_msrp_price($products_id);
$display_price_save = zen_get_products_price_save($products_id);