show price in the backend when i have two or more currency

  • Posts: 210
  • Thank you received: 7
4 days 7 hours ago #367093

hi
1- Imagine I have two currencies. 1 and 2. When I price a product with currency 1, in Joomla administration, in the Hikashop product list section, I need the product price to be displayed in currency 2 for the site administrator. Is this possible?
In this path:
administrator/index.php?option=com_hikashop&ctrl=product
2- I have disabled the display option in the currency 1 settings. But I want all my products to be priced in currency 1 but displayed in currency 2 in the front. With this method, when I change the rate in the currency settings, all my prices will be updated.
Of course, this is my simplified example. In fact, I have 6 product categories whose prices need to be changed in different years. I have defined currencies for these 6 and only change the rate so that all of them have a price change at once. Is my work correct for changing a group of products?

Please Log in or Create an account to join the conversation.

  • Posts: 83798
  • Thank you received: 13570
  • MODERATOR
4 days 3 hours ago #367094

Hi,

If I understand correctly, you want to use the currency rate to update the price of your products all at once.
I think you're going at it the wrong way.
Instead of using currency rates, I would recommend having only one currency and all the prices in that currency.
If you want to update all the prices of a category of products, you can do so with a mass action with a filter on the category, and an action "update the values" on the "price_value" column with the "operation" mode with the value: price.price_value*1.10
And you can replace 1.10 based on how you want to change the prices. With 1.10, that's an increase of 10%. With 0.9 that's a decrease of 10%.
We actually have a tutorial on this here:
www.hikashop.com/support/documentation/1...ion-form.html#modify

The following user(s) said Thank You: sadaf3d

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 7
4 days 2 hours ago #367100

Thank you Nicolas. Yes I understand mass action but it is a little difficult to use for admin. But with the currency rate, it is easy. Can you say me what is problem if I use rate instead of mass action?

Please Log in or Create an account to join the conversation.

  • Posts: 83798
  • Thank you received: 13570
  • MODERATOR
3 days 15 hours ago #367101

Hi,

Well, there is no option to display the price in a different currency in the backend products listing for example. Adding would require custom coding. Custom coding is harder than configuring a few mass actions.
You could pre configure the price changing mass actions for him, and he would just have to change the multiplier value in the action of the mass action before running the mass action, without having to know how to configure mass actions himself. So, if you setup the mass actions for him, it will be as easy for him to update the prices than changing the rate of a currency.

Also, the day your client wants to support prices in several currencies, you're screwed with using the rates as a price changing system.
Also, when your client wants to use the Google Products plugin to generate a XML of his products data (which can be interesting for SEO), the XML will have the prices configured in the products in the backend while he will want the converted prices in the currency used on the frontend. So your solution won't work without adding some extra customization code to the plugin.
Same if your client wants to export a CSV of his products to migrate to another ecommerce solution.
Also, extensions developed by third party developers for HikaShop might not properly convert the currency of the prices. So it might require back and forth with them to add that support in their extension so that the correct prices can be taken into account, if possible at all.
But if you use mass actions instead, then these problems won't happen because the prices will be in the correct currency with the correct value directly in the database.

The following user(s) said Thank You: sadaf3d

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 7
3 days 12 hours ago #367107

Thank you Nicolas.
3-is it problem in the hikashop report builder too?

4-also if i want filter some product according vendor custom field what we need to do?
for example i have 2 vendor . vendor 1 and vendor 2
i want increase vendor 1 products 10 percent and vendor 2 20 percent. how to filter product according that?

5-i see this link:
www.hikashop.com/support/documentation/1...s-action-plugin.html
is it possible add mass action button above of product list via mass action plugin?

Last edit: 3 days 10 hours ago by sadaf3d.

Please Log in or Create an account to join the conversation.

  • Posts: 83798
  • Thank you received: 13570
  • MODERATOR
3 days 9 hours ago #367109

Hi,

1. Yes. The report system will be based on the prices in the database. Not the dynamically converted prices if you use currency rates.

2. If you use mass actions, that's not a problem. Instead of a "category column" filter, you can use the "product column" filter with the column "product_vendor_id" to target the products of a specific vendor.

3. In each mass action, you have the setting "actions as a button". If you activate that setting, then the products listing will have an extra button with the name of the mass action as the name of the button. You will have to select the products you want the actions to be processed on with the checkboxes of the listing and then you'll be able to click on that button. Note that it will only process the actions of the mass action (so no filtering will happen). However, that should not be a problem as you will be the one pre filtering the products on the listing with the default filters available so that you only target the products you want.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum