Author Topic: Group Pricing Display when Logged In  (Read 4721 times)

Offline cartagan

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Group Pricing Display when Logged In
« on: March 07, 2025, 02:24:05 PM »
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?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2148
  • Karma: +337/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Group Pricing Display when Logged In
« Reply #1 on: March 11, 2025, 05:04:09 AM »
discounted price is a special price.
See this link for details
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline cartagan

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Group Pricing Display when Logged In
« Reply #2 on: March 11, 2025, 07:52:03 AM »
Bummer. Thanks for responding.

Offline cartagan

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Group Pricing Display when Logged In
« Reply #3 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!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2148
  • Karma: +337/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Group Pricing Display when Logged In
« Reply #4 on: April 14, 2025, 11:37:12 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline cartagan

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Group Pricing Display when Logged In
« Reply #5 on: April 14, 2025, 11:42:53 AM »
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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2148
  • Karma: +337/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Group Pricing Display when Logged In
« Reply #6 on: April 14, 2025, 11:51:30 AM »
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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline cartagan

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Group Pricing Display when Logged In
« Reply #7 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!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2148
  • Karma: +337/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Group Pricing Display when Logged In
« Reply #8 on: April 14, 2025, 12:16:59 PM »
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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline cartagan

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Group Pricing Display when Logged In
« Reply #9 on: April 16, 2025, 09:05:04 AM »
Thanks for that!

 

Powered by SMFPacks Social Login Mod