fbpx

Xmas is coming - Grab 30% Discount on all Joomla Template. Coupon Code: PRECHRISTMAS Unlock Offer

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Problem with Quix Element "JD Hikashop Category"

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7689

  • Amenofis
  • Amenofis's Avatar
  • Offline
  • Junior Member
  • Posts: 36
  • Karma: 0
Hello,
I wrote you two months ago about a translating problem in Quix : " in Quix with the "JD Hikashop Category" element : "New arrival", "Hot products", "Best seller" stay in english".
The problem is still here.
You said me to try this "in that folders jd-hikashopcategories & jd-hikashopcategory and config.php files inside that folder.", but it doesn't work. Quix is bloqued when I change anithing in the files.
Could you explain me step by step what I have to do to solve my translating problem ?
regards
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7702

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1338
  • Thank you received: 189
  • Karma: 38
Hello,

Thanks for your post. I am so sorry you had to go through this.

Why don't you tell me what you want the words to be translated into, exact strings with words in your language.

I'll go ahead and create new files for you (with your language in there) that you can just drop into your FTP and it will be a done deal.

Thank again,
Looking forward to hearing back from you.
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7715

  • Amenofis
  • Amenofis's Avatar
  • Offline
  • Junior Member
  • Posts: 36
  • Karma: 0
Hello Chetan,
thanks for your proposal.
In fact, I want to change "New arrival" in "Nouveautés", "Hot products" in "En vedette" et "Best seller" en "Meilleures ventes"
What about the translation in other languages (spanish for example) ? Will I ask to you each time ? Isn't be a better solution ?
Regards
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7716

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1338
  • Thank you received: 189
  • Karma: 38
Hello,

Thanks for your message. There is infact a better way to do it and that's with language overrides (something we should have done in the templates originally).

Let me go ahead and set it up for you and get back to you with the files on how you will setup overrides on your current site.
Back to you shortly.
Thank you,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7718

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1338
  • Thank you received: 189
  • Karma: 38
Hello Again,

Please replace the file ROOT/templates/jd_shop/quix/elements/jd-hikashopcategory/view.php with gist.github.com/chetanmadaan/4436a0db3c577885dd158d385de4f7d2

Once done, You will start seeing language tags instead of New Arrival, Hot Products and Best Seller text.

Next step is to create language overrides.
The Constants are:
TPL_JDSHOP_NEW_ARRIVAL
TPL_JDSHOP_HOT_PRODUCTS
TPL_JDSHOP_BEST_SELLER

You can create them manually in the language manager by going to Extensions >> Language >> Overrides
Click the new button and add TPL_JDSHOP_NEW_ARRIVAL as a constant and whatever value you want on the frontend in the text.

Save it and you should be good, do it 2 more times for the other 2 constants.

Back to the language overrides manager and you can switch the languages on the left to create overrides for different languages.

Let me know if you need any further help?
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
Last Edit: 4 months 2 weeks ago by admin.
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7723

  • Amenofis
  • Amenofis's Avatar
  • Offline
  • Junior Member
  • Posts: 36
  • Karma: 0
Hello,
the substitution works fine.
I just noticed that the prices are indicated without taxes (always in the same element).
I found the line in the file view.php but I don't know the vars to indicate to hgave the price full taxes...
thanks
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7742

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1338
  • Thank you received: 189
  • Karma: 38
Hello,

I just had a look at the code and the query can be modified to get you the price you need. Are you trying to display the retail price? Can you provide me a screenshot of the backend Prices and Taxes section? Also which price is being displayed and which you'd like to have on the frontend?

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7743

  • Amenofis
  • Amenofis's Avatar
  • Offline
  • Junior Member
  • Posts: 36
  • Karma: 0
Hello Chetan,
yes I need the retail price.
There is just one price, no complications... ;)
and just on tax :( TVA or VAT I think in english
Here is the viewof the section


The top could be a button in the setting section of JD Hikashop Category element : a switch "with/without" taxes...
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 2 weeks ago #7744

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1338
  • Thank you received: 189
  • Karma: 38
Thanks.

Let me see if this can be an option in the addon and get back to you.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Problem with Quix Element "JD Hikashop Category" 4 months 1 week ago #7807

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1338
  • Thank you received: 189
  • Karma: 38
Hello,

Apologies for the delayed reply :blush: . We are working on updating all the addons to you have an option to display the retail price of the price with tax, It will be released in the next version.

Until then, to manually switch the price you can make the changes in the following file:

ROOT/templates/jd_shop/quix/elements/jd-hikashopcategory/helper.php
Line 54.

Change
'price'                 => ($value['product_sort_price']) ? ($value['product_sort_price']) : ($value['product_msrp']),
to:
'price'                 => $value['product_msrp'],
OR
'price'                 => $value['product_sort_price'],
The first will get you the maximum retail price and the second one will get you the sort price. I hope this helps and let me know if there is anything else I can assist you with?
B) B) B)
Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: priyasingh
Time to create page: 0.412 seconds