show different prices for two types of customers

  • Posts: 39
  • Thank you received: 1
11 years 4 months ago #113088

Hello,
Would need show different prices for two types of customers. for members and the general public.
Registered: for wholesale customers would be to those who would come out cheaper
General Public: Retail Price.

Thank you,

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
11 years 4 months ago #113094

Hi,

You can do that by adding several prices to your products and using the icon of the 'access level' column of your product prices listing to restrict each price to the corresponding user group.
That will require the Business edition.

The following user(s) said Thank You: alison

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 1
10 years 7 months ago #150095

Hello,

Thanks for your reply, I have the Business and I can set prices for two different groups.

Now my cultural issue is that for a user group to display the price without taxes on the display of products but at checkout and the other group members that prices are displayed both on screen and in the product summary purchase.

How should I configure it?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #150263

Hi,

So you have to set the taxes option to show both. Then edit the view "product / listing_price" and get the user group, then depending on the user group change dynamically the value of the option for the taxes.
Add code like the following one at the top of that view:

$user = JFactory::getUser();
$groups = $user->get('groups');
if(in_array('8',$groups))
	$this->params->set('price_with_tax',0);

Replace "8" by the id of the desired group.

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum