If you have custom category discounts, you can't just use the default marketing text; you need to write additional code.
Scott
If you have custom category discounts, you can't just use the default marketing text; you need to write additional code.
Scott
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I know that; I already have the custom text in the additional code. I am not having problems with the marketing text.
What I am taking about the fact that if the url to get to a product is /index.php?main_page=product_info&cPath=22&products_id=15
And category 22 has a custom discount of 25% and it shows the marketing text of 25%.
But if somehow a customer goes to the product as /index.php?main_page=product_info&cPath=60&products_id=15
when 60 is a non existing category the default marketing text shows instead of the customer marketing text that I have set. So the customer thinks they can get a higher percentage.
The reason I am asking is because a customer did this and thought he was going to get 50% off when the actual category should only get 25% off. The customer sent me screenshots and it showed a non existent catid in the url.
Sounds like $current_category_id may not be the master category id of the product in question; perhaps the product was linked at one time, perhaps the customer is just diddling the URL for fun. Who knows. In any event, if this is happening, you will need to query the category id manually instead of relying on $current_category_id. My Zen Cart Category Issues page discusses how to get this value.
http://www.thatsoftwareguy.com/zenca...issues.html#mt
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
The bulleted list of tips following the documentation on adding Marketing Text to Quantity Discounts
http://www.thatsoftwareguy.com/zenca...html#marketing
Has also been updated to discuss this issue and cross reference the resolution.
It's funny - this code has been in place for several years with no complaints, and in the last 2 weeks I've gotten two questions about this - the other was from Better Together.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I really want to try this mod. Trouble is I have no clue how to even install mods to zencart!
Anybody know where I should be looking to get help installing a mod like this one?
Thanks!
My zen cart is being rebuilt!! www.nicecarvings.com
The Quantity Discount Mod is working great!
www.thatsoftwareguy.com/zencart
I wrote a very simple "introduction to installing my mods for rookies" page here:
http://www.thatsoftwareguy.com/zencart_install_mod.html
If this doesn't make sense to you, put an ad in Commercial Help Wanted to get someone who can walk you through doing this on the phone. It's only confusing the first time you do it.
Scott
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
My zen cart is being rebuilt!! www.nicecarvings.com
The Quantity Discount Mod is working great!
www.thatsoftwareguy.com/zencart
Is there a way to have the discount figured immediately upon placing the quantity items in the cart? This is an awesome mod BTW!
My zen cart is being rebuilt!! www.nicecarvings.com
The Quantity Discount Mod is working great!
www.thatsoftwareguy.com/zencart
Bookmarks