- Posts: 39
- Thank you received: 1
show different prices for two types of customers
13 years 2 months ago #113088
by alison
show different prices for two types of customers was created by alison
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,
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.
13 years 2 months ago #113094
by nicolas
Replied by nicolas on topic show different prices for two types of customers
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.
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.
12 years 6 months ago #150095
by alison
Replied by alison on topic show different prices for two types of customers
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
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.
12 years 5 months ago #150263
by Xavier
Replied by Xavier on topic show different prices for two types of customers
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:
Replace "8" by the id of the desired group.
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:
Code:
$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.173 seconds