Is there any way to display the correct group discounted pricing while logged in (other than using special) on the category pages and not just the product details page?
discounted price is a special price.
See this link (https://abantecart.atlassian.net/wiki/spaces/AD/pages/5275730/Products+Specials) for details
Bummer. Thanks for responding.
Coming back around to this again.
Could someone please point out what part of product_listing.tpl would need to be edited to get the correct group discount pricing to display on both the category page and the product page?
I know that I could make the price a special instead of a discount but that automatically puts them on the Specials page and shows the "Sale" text which I don't want.
Thanks!
Quote from: cartagan on April 14, 2025, 09:42:40 AM
Coming back around to this again.
Could someone please point out what part of product_listing.tpl would need to be edited to get the correct group discount pricing to display on both the category page and the product page?
I know that I could make the price a special instead of a discount but that automatically puts them on the Specials page and shows the "Sale" text which I don't want.
Thanks!
You should no to edit tpl file in this case.
Is question only in Specials page?
What if remove links on it and use Featured block instead?
If you have a special price of product for group it's a "special". When you wish to show special product but say it's not a special product it sounds wierd
Normally I would try not to edit the .tpl files but the cart does not have the feature I want by default. I have 2 stores with different price levels. Both stores show Retail pricing when not logged in but I want to display the "discount" price from the Promotions section when logged into the "Dealer" version of the store. I know that can be done with "special" but that adds other things that I don't want.
If you have two stores you should to have two variants of the same products with different prices.
See product form->stores. Chose only one.
I would have to create thousands of products twice. I would rather edit a few lines of code and have it do what I want. I just don't know which lines of code control the price display while logged in.
I do appreciate you taking time to answer though. Thanks!
Quote from: cartagan on April 14, 2025, 11:57:07 AM
I would have to create thousands of products twice. I would rather edit a few lines of code and have it do what I want. I just don't know which lines of code control the price display while logged in.
I do appreciate you taking time to answer though. Thanks!
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/model/catalog/product.php#L1560
Thanks for that!
Just an update for those that had a similar issue. You cannot have a quantity of "0" for the promotion or the correct price will not show. Once I set the quantity to "1", the correct prices showed.
Thanks again abolabo for trying to help.