cancel
Showing results for 
Search instead for 
Did you mean: 

Display Group Prices to all customer groups

Display Group Prices to all customer groups

Hey,

 

I'd like to show all group prices to all customer groups, to incentivise some customers to sign up and recieve a different price.

 

How can I set all group prices to display on the product page?

 

Thanks

 

Stefan

4 REPLIES 4

Re: Display Group Prices to all customer groups

Hey, just an update added this code to price.phtml :

 

<?php echo $_coreHelper->formatPrice($_product['group_price'][2]['price'], true); ?>

So just to explain:

 

1)

 $_coreHelper->formatPrice( $RawPrice, $NumberOfDecimalPlaces ) 

    - Sets to 2 Decimal place and wraps in <span> with class of price.

 

2) 

$_product['group_price'][2]['price'] 

  - $_product['group_price'] gets the group_price key of $_product array.

  - [2] is the 3rd array of the group_price array

  - ['price'] is the group price set for the 3rd array that we selected in the line above.

 

Still looking for a cleaner way to do this, any thoughts/suggestions still welcome.

 

Thanks

Re: Display Group Prices to all customer groups

You can give Customer group and website wise price from the backend. Edit any product and go on "Price" tab and find "Group Price" field. Apply your price & customer group. 

 

Cheers Smiley Happy

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.

Re: Display Group Prices to all customer groups

I need a solution for this too.


The solutions already provided are not what I am after.

 


How can you display the group price for a specific group id? I want to create a custom module that will display the "VIP Group" price but only on a click.

 

I figured out how to display on click,  I just cant figure out how to display the group price.


Example:

NOT LOGGED IN USERS:

 

Banana = 1$


"Click Here for VIP Group Pricing" ................... -> VIP Group Price = .25$

(VIP Group ID: 5)

 

I cannot find anything anywhere about doing this, I'm sure its very simple.


Thank you

SR

Re: Display Group Prices to all customer groups

I need such extension too. Looked At Belvg Flexibe Prices 2.0 no luck. Looked at Mageworx Customer Group Prices no luck. nobody does it.......for Magento yet. but its popular on other commerce platforms to show normal price + price for registered (club price)