[Skip to main content](#vessel-content)

#   Shop based on credits and currecy. How to display price with credits or currency

##

- **[maurop](/forum/user/80185-maurop "View maurop's Profile")**
- [![maurop's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/80185-maurop "View maurop's Profile") Topic Author
- [ Offline](/forum/user/80185-maurop)

Less More

- Posts: 5
- Thank you received: 0
-
-

2 years 6 months ago [\#360988](#360988) by [maurop](/forum/user/80185-maurop "View maurop's Profile")  *[Shop based on credits and currecy. How to display price with credits or currency](/forum/26-product-category-display/908168-shop-based-on-credits-and-currecy-how-to-display-price-with-credits-or-currency#360988 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 5 -- PHP version -- : 8.1  Hi all, I have been searching for long about this, but can't find anything related.  I have a shop (it is an intranet shop, not open to public) with two categories:  1. Prizes: it works with the points system, no prices are shown, so I have setup a new currency called &quot;Credits&quot; with the symbol &quot;C&quot; and people can spend their points (credits) ordering things from this category. I also set this C as default currency.  2. Outlet: in this category there are outlet products (ex-demo, b-stock, etc), but this works in Euros, it sould show the price in Euros.  Everything works fine, the only problem is that the products in the second category, are shown in a very ugly way, like in the product category:  -50% 425,00 C (425,00 €)  In the product page:  &#91;strike&#93;850,00 C ()&#91;/strike&#93; 425,00 ¢ (425,00 €)  My question is: Is there a way to show in the second category the prices only in Euros? Like  &quot;-50% 425,00 €&quot; and &quot;&#91;strike&#93;850,00 €&#91;/strike&#93; 425,00 €&quot;  Thanks a lot.")* was created by *[maurop](/forum/user/80185-maurop "View maurop's Profile")*

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 5
-- PHP version -- : 8.1

Hi all, I have been searching for long about this, but can't find anything related.

I have a shop (it is an intranet shop, not open to public) with two categories:

1. Prizes: it works with the points system, no prices are shown, so I have setup a new currency called "Credits" with the symbol "C" and people can spend their points (credits) ordering things from this category. I also set this C as default currency.

2. Outlet: in this category there are outlet products (ex-demo, b-stock, etc), but this works in Euros, it sould show the price in Euros.

Everything works fine, the only problem is that the products in the second category, are shown in a very ugly way, like in the product category:

-50% 425,00 C (425,00 €)

In the product page:

[strike]850,00 C ()[/strike] 425,00 ¢ (425,00 €)

My question is: Is there a way to show in the second category the prices only in Euros? Like

"-50% 425,00 €" and "[strike]850,00 €[/strike] 425,00 €"

Thanks a lot.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDgxNjgtc2hvcC1iYXNlZC1vbi1jcmVkaXRzLWFuZC1jdXJyZWN5LWhvdy10by1kaXNwbGF5LXByaWNlLXdpdGgtY3JlZGl0cy1vci1jdXJyZW5jeT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

2 years 6 months ago [\#360991](#360991) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shop based on credits and currecy. How to display price with credits or currency](/forum/26-product-category-display/908168-shop-based-on-credits-and-currecy-how-to-display-price-with-credits-or-currency#360991 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 5 -- PHP version -- : 8.1  Hi all, I have been searching for long about this, but can't find anything related.  I have a shop (it is an intranet shop, not open to public) with two categories:  1. Prizes: it works with the points system, no prices are shown, so I have setup a new currency called &quot;Credits&quot; with the symbol &quot;C&quot; and people can spend their points (credits) ordering things from this category. I also set this C as default currency.  2. Outlet: in this category there are outlet products (ex-demo, b-stock, etc), but this works in Euros, it sould show the price in Euros.  Everything works fine, the only problem is that the products in the second category, are shown in a very ugly way, like in the product category:  -50% 425,00 C (425,00 €)  In the product page:  &#91;strike&#93;850,00 C ()&#91;/strike&#93; 425,00 ¢ (425,00 €)  My question is: Is there a way to show in the second category the prices only in Euros? Like  &quot;-50% 425,00 €&quot; and &quot;&#91;strike&#93;850,00 €&#91;/strike&#93; 425,00 €&quot;  Thanks a lot.")*

Hi,

The currency is global to the whole shop.
There is no mechanism to display the price of some products with one currency and the price of other products with another currency at the same time.
That's why, on your second listing, HikaShop automatically converts the price in euros to the main currency.

Doing what you want would require the development of a custom plugin. The plugin should:
- use the "onAfterRoute" event of Joomla to check the price of the current product being displayed, or the price of a product of the current category being displayed to force the current currency based on this price.
- use the "onAfterProductCheckQuantities" event of HikaShop to refuse adding the product in the cart, if the currency of the price of the product being added is different from the currency of the products already in the cart.
- use the "onAfterHikashopLoad" event of HikaShop to force the current currency based on the currency of the price of the products in the cart if a cart is present and we are on the frontend.
So it's possible, but not that simple. It will require several hours of development by a skilled PHP developer.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDgxNjgtc2hvcC1iYXNlZC1vbi1jcmVkaXRzLWFuZC1jdXJyZWN5LWhvdy10by1kaXNwbGF5LXByaWNlLXdpdGgtY3JlZGl0cy1vci1jdXJyZW5jeT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[maurop](/forum/user/80185-maurop "View maurop's Profile")**
- [![maurop's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/80185-maurop "View maurop's Profile") Topic Author
- [ Offline](/forum/user/80185-maurop)

Less More

- Posts: 5
- Thank you received: 0
-
-

2 years 6 months ago -  2 years 6 months ago [\#361001](#361001) by [maurop](/forum/user/80185-maurop "View maurop's Profile")  Replied by *[maurop](/forum/user/80185-maurop "View maurop's Profile")* on topic *[Shop based on credits and currecy. How to display price with credits or currency](/forum/26-product-category-display/908168-shop-based-on-credits-and-currecy-how-to-display-price-with-credits-or-currency#361001 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 5 -- PHP version -- : 8.1  Hi all, I have been searching for long about this, but can't find anything related.  I have a shop (it is an intranet shop, not open to public) with two categories:  1. Prizes: it works with the points system, no prices are shown, so I have setup a new currency called &quot;Credits&quot; with the symbol &quot;C&quot; and people can spend their points (credits) ordering things from this category. I also set this C as default currency.  2. Outlet: in this category there are outlet products (ex-demo, b-stock, etc), but this works in Euros, it sould show the price in Euros.  Everything works fine, the only problem is that the products in the second category, are shown in a very ugly way, like in the product category:  -50% 425,00 C (425,00 €)  In the product page:  &#91;strike&#93;850,00 C ()&#91;/strike&#93; 425,00 ¢ (425,00 €)  My question is: Is there a way to show in the second category the prices only in Euros? Like  &quot;-50% 425,00 €&quot; and &quot;&#91;strike&#93;850,00 €&#91;/strike&#93; 425,00 €&quot;  Thanks a lot.")*

Hi, thank you for your answer. I understand the problem. I'll try to manage it in some other way, it's not worth the effort.

Last edit: 2 years 6 months ago by [maurop](/forum/user/80185-maurop "View maurop's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDgxNjgtc2hvcC1iYXNlZC1vbi1jcmVkaXRzLWFuZC1jdXJyZWN5LWhvdy10by1kaXNwbGF5LXByaWNlLXdpdGgtY3JlZGl0cy1vci1jdXJyZW5jeT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
