eCommerce construction > General Discussion
Group Pricing Display when Logged In
cartagan:
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.
abolabo:
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.
cartagan:
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!
abolabo:
--- 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!
--- End quote ---
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/model/catalog/product.php#L1560
cartagan:
Thanks for that!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version