- Thank you received: 0
Different Prices for Similar Item
- dlaughter
-
Topic Author
On this page at silverconnection.cloudaccess.net/index.p...s/category/15-chains select any chain, then in the characteristic drop down menu, my (incorrect) understanding is that whichever length/price was selected would tell the cart what price to charge. Apparently this is not the case.
How would I instruct the cart to select the correct price for the correct chain length in this instance?
Thanks.
Please Log in or Create an account to join the conversation.
- dlaughter
-
Topic Author
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- dlaughter
-
Topic Author
- Thank you received: 0
Please Log in or Create an account to join the conversation.
For the default price displayed, you can change the default variant displayed as main product, so the price displayed can be what you want.
Then you can override the translation PRICE_BEGINNING="" to set something like PRICE_BEGINNING="From ".
Please Log in or Create an account to join the conversation.
- dlaughter
-
Topic Author
- Thank you received: 0
Please Log in or Create an account to join the conversation.
To change the default variant displayed, in the product edition page, under the part "characteristics" change the default values.
Then, to change the translation, do in HikaShop > Configuration > Languages, and edit you language file. In the override section, add the code previously given.
Please Log in or Create an account to join the conversation.
- dlaughter
-
Topic Author
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Try to replace the line:
In the view "product / listing_price" in HikaShop > Display > Views.
Replace '2' by the id of your category. You can find this id in the categories listing.
Please Log in or Create an account to join the conversation.
- dlaughter
-
Topic Author
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Are you sure that you edited the file in the good view, and replace '2' by the id of the good category ?
Please Log in or Create an account to join the conversation.
- dlaughter
-
Topic Author
- Thank you received: 0
If I leave echo JText::_('PRICE_BEGINNING'); in the listing_price file and insert the new code and save, nothing displays next to the default item price as well. I am changing the Category from 2 to 15 (actual category ID) in both instances.
So in both instances of inserting that code or not, the only way the word From appears next to the item price is by changing PRICE_BEGINNING="" to PRICE_BEGINNING="From " in the Configuration>Languages file but again that makes the word From appear next to the item price site wide.
Am I following correctly?
Please Log in or Create an account to join the conversation.
You can override HikaShop view per template.
For example, your front-end template is "dj-jewellery" and your backend template is "bluestork".
So, if you modify a front end view for another template than "dj-jewellery", your modification would not be seen for your front-end.
And same thing for the backend part, with the "bluestork" template.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- dlaughter
-
Topic Author
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please send me by private message a backend access to your website.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I have fix the code for the listing_price.
I does not re-change the translation but you can now do it.
If have configure the code in order to just display "PRICE_BEGINNING" on the category listing, not on the product display.
But if you want to display it in the product page, you can just uncomment the block with "/*" and "*/".
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- dlaughter
-
Topic Author
- Thank you received: 0
Please Log in or Create an account to join the conversation.