- Posts: 26
- Thank you received: 0
Hide price in cart if not logged in
12 years 2 months ago - 12 years 2 months ago #170800
by iinuma
Hide price in cart if not logged in was created by iinuma
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
hello,
I work in a shop or purpose is to send a command to receive in return a quote.
The price of items in the basket must be hidden at the articles and the total price.
These prices have nevertheless reappear if a customer is referenced. this one by logging appear sees prices.
I managed to make disappear the prices in the material master records when we connect in public and make them appear if we log in private.
Can we do the same with the basket?
thank you
Merci...
-- Joomla version -- : 3.3.3
hello,
I work in a shop or purpose is to send a command to receive in return a quote.
The price of items in the basket must be hidden at the articles and the total price.
These prices have nevertheless reappear if a customer is referenced. this one by logging appear sees prices.
I managed to make disappear the prices in the material master records when we connect in public and make them appear if we log in private.
Can we do the same with the basket?
thank you
Merci...
Last edit: 12 years 2 months ago by iinuma.
Please Log in or Create an account to join the conversation.
12 years 2 months ago #170814
by Xavier
Replied by Xavier on topic Hide price in cart if not logged in
Hi,
Yes it's possible, you have to edit the view "product / cart" for the cart module, and "checkout / cart" for the checkout workflow.
Then add code around the one displaying the price like that:
Yes it's possible, you have to edit the view "product / cart" for the cart module, and "checkout / cart" for the checkout workflow.
Then add code around the one displaying the price like that:
Code:
if(hikashop_loadUser() != null){
// price code
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.037 seconds