- Posts: 20
- Thank you received: 0
price display
- yjiang92131
-
Topic Author
- Offline
I am using business version of hikashop. login customers have their own price (group price), which are usually lower than the general price. how can I display both the prices after the customer logs in with a red slash on the genearal price ? Thanks.
Yong
Please Log in or Create an account to join the conversation.
When HikaShop loads prices for a product, it would just load prices which are compatible with the current user.
The price with access "all" would be always load so, if the customer have an access to a specific price, the product page would display 2 prices (his special price and the price for "all").
You can edit the view "product | listing_prices" in order to change some design.
You can replace
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
Please Log in or Create an account to join the conversation.
You are sure it didn't work ?
The code just add a span, after that you have to add a CSS rule in order to "strike" the text for " span.hikashop_strike_price ".
If there is no span "hikashop_strike_price" in your page, you have to check if you're editing the right view, for the right template (In HikaShop you can edit views per template).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Can you give us a link to your store ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
Please Log in or Create an account to join the conversation.
In the backend, on "Display > View", there are several drop down list at right.
One is for the template filtering. You have to select your current front-end template "mystique-fjt" in this list.
After that, you can select just "front end" views and make a search on "listing_price" using the textbox at the left.
After that, you should see just one "listing_price" view and this is the view you have to edit.
The modification are displayed only if you are logged with a special account.
With a guest user or with a user who is not in your special group, just one price would be proposed.
And in your CSS file add the rule:
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Did you test with a special account like I said in my previous post ?
Can you provide a screenshot while you are logged with an account which have access to several prices ?
I can't test anything in your website because I don't have any useful access but I don't see any problem for guest users.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
Yong
Please Log in or Create an account to join the conversation.
There was a missing colon in the code.
So please fix it by replacing:
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
Thank you for your quick reply.
I send you the mail with test account. in case you need it.
Please Log in or Create an account to join the conversation.
Did you set an ACL for the "generic" price ?
You should let "all" access for this price if you want that everybody could see it.
If special users can't have access to the "generic" price, it is not possible for HikaShop to load it so, it is not possible to display it.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
Thanks.
Please Log in or Create an account to join the conversation.
So, it can't work, as I said in my previous post.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
Also I did what you mentioned in your first reply in this thread, is that enough ? Thanks.
Please Log in or Create an account to join the conversation.
I don't understand because it works fine in our local websites.
Could you send me a backend access by private message ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- yjiang92131
-
Topic Author
- Offline
- Posts: 20
- Thank you received: 0
thanks.
Please Log in or Create an account to join the conversation.
Thanks for the access.
I do not touch anything in your store.
But as you can see :
The display is correct in the product page.
In the product listing, it requires a patch which as been submit for a new version of HikaShop and which would require some tests and validation before his integration.
We want to be sure that the patch would not create side effects.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.