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

#   Extending Hikashop

##

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 10 months ago [\#3070](#3070) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  *[Extending Hikashop](/forum/2-general-talk-about-hikashop/3070-extending-hikashop#3070 "Hi,  First of all I want to congratulate you on the new release 1.4.0 :)  Now to the topic: How much possibilities do you have to extend Hikashop.  For example I made this site in Virtuemart some time ago:   www.almahouse.se/shop/1-baeddlinne/2-bae...ott-i-bomullspercale  As you can see the customers can add a monogram to the linens in the shop and the price is updated depending on how many letters you enter.  I was able to do this extension without any core hacks thanks to the possibility to override Virtuemart's core classes.  Do you think I could do something similar in Hikashop?  I really like Hikashop so far and would love to use it for my clients in the future as well.  Nils")* was created by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")*

Hi,

First of all I want to congratulate you on the new release 1.4.0 ![:)](/media/kunena/emoticons/3.png ":)")

Now to the topic: How much possibilities do you have to extend Hikashop.

For example I made this site in Virtuemart some time ago: [ www.almahouse.se/shop/1-baeddlinne/2-bae...ott-i-bomullspercale](http://www.almahouse.se/shop/1-baeddlinne/2-baeddlinne-vuxen/92-amelie-oerngott-i-bomullspercale)

As you can see the customers can add a monogram to the linens in the shop and the price is updated depending on how many letters you enter.

I was able to do this extension without any core hacks thanks to the possibility to override Virtuemart's core classes.

Do you think I could do something similar in Hikashop?

I really like Hikashop so far and would love to use it for my clients in the future as well.

Nils

---

Hikashop Essential 1.4.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMwNzAtZXh0ZW5kaW5nLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 10 months ago [\#3074](#3074) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Extending Hikashop](/forum/2-general-talk-about-hikashop/3070-extending-hikashop#3074 "Hi,  First of all I want to congratulate you on the new release 1.4.0 :)  Now to the topic: How much possibilities do you have to extend Hikashop.  For example I made this site in Virtuemart some time ago:   www.almahouse.se/shop/1-baeddlinne/2-bae...ott-i-bomullspercale  As you can see the customers can add a monogram to the linens in the shop and the price is updated depending on how many letters you enter.  I was able to do this extension without any core hacks thanks to the possibility to override Virtuemart's core classes.  Do you think I could do something similar in Hikashop?  I really like Hikashop so far and would love to use it for my clients in the future as well.  Nils")*

Hi,

That is possible as well with HikaShop if you know your way around in PHP ![:)](/media/kunena/emoticons/3.png ":)")

To accomplish that, here is what I would do:
Create two characteristics: 1 for Trådfärg and 1 for the number of letters.
And fill them with the possible values
Then, create a product with those two characteristics. For each variant, set a specific price.
Then, edit the file show of the view product in Display-&gt;Views. There, add an input box for the text and hide the number of letters characteristics. Upon typing the letters in the input box, update in js the number of letters dropdown and trigger the js function to update the informations of the products with some javascript.
Finally, have a custom order field set in hikashop (business version) where you would be able to insert that text with some additional js and block the edition of it on the checkout. To force the value from the input text you added in the view to the custom field, you would have to edit the fields file of the view checkout to retrieve the value from the post and add it in the object passed to the code generating the custom fields.

The only limitation I see in HikaShop is that you can't have something which generates the price of an item as the price is always recalculated dynamically from the information in the database on each page (for taxes, zones, quantities, etc). So you need to have the price linked to a product in the database before being able to select it. So, for example, this page [ www.almahouse.se/shop/7-sammetstyger/18-cerise-120-cm](http://www.almahouse.se/shop/7-sammetstyger/18-cerise-120-cm) where you can specify the number of meters. Either, you have a variant per possibility with a different price (and if you want it up to 200m then you will have 200 variants) or you need some code to generate the variants and the characteristic value dynamically when selected with some ajax. You could add in the view some code to generate dynamically the product variant and the price based on the options entered by the user. That would however require a bit more work as you might need some ajax for that. But that's not impossible either.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMwNzAtZXh0ZW5kaW5nLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 10 months ago [\#3085](#3085) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Extending Hikashop](/forum/2-general-talk-about-hikashop/3070-extending-hikashop#3085 "Hi,  First of all I want to congratulate you on the new release 1.4.0 :)  Now to the topic: How much possibilities do you have to extend Hikashop.  For example I made this site in Virtuemart some time ago:   www.almahouse.se/shop/1-baeddlinne/2-bae...ott-i-bomullspercale  As you can see the customers can add a monogram to the linens in the shop and the price is updated depending on how many letters you enter.  I was able to do this extension without any core hacks thanks to the possibility to override Virtuemart's core classes.  Do you think I could do something similar in Hikashop?  I really like Hikashop so far and would love to use it for my clients in the future as well.  Nils")*

What about extending Hikashop in general? Have you thought about adding more triggers for plugins so you can extend the shop that way?

---

Hikashop Essential 1.4.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMwNzAtZXh0ZW5kaW5nLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 10 months ago [\#3088](#3088) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Extending Hikashop](/forum/2-general-talk-about-hikashop/3070-extending-hikashop#3088 "Hi,  First of all I want to congratulate you on the new release 1.4.0 :)  Now to the topic: How much possibilities do you have to extend Hikashop.  For example I made this site in Virtuemart some time ago:   www.almahouse.se/shop/1-baeddlinne/2-bae...ott-i-bomullspercale  As you can see the customers can add a monogram to the linens in the shop and the price is updated depending on how many letters you enter.  I was able to do this extension without any core hacks thanks to the possibility to override Virtuemart's core classes.  Do you think I could do something similar in Hikashop?  I really like Hikashop so far and would love to use it for my clients in the future as well.  Nils")*

There are already several triggers in HikaShop: [ www.hikashop.com/en/support/documentation/62.html](http://www.hikashop.com/en/support/documentation/62.html)
We also have some triggers which are not yet documented. All in all, about twenty triggers and three different types of plugins.
Of course, it is always possible to add more of them if we feel they are relevant.
For example, since version 1.3.9 of HikaShop the description of products is parsed by content plugins. So you can add in the description of your products normal joomla content tags in hikashop and have them converted by the content plugins.
For version 1.4.1, we are going to add some templates override so that you can redefine hikashop buttons, the popup when adding a product in the cart, the quantity field with the + and -, etc. Those were not yet modifiable without hacking in core files. So we decided to add some triggers for them.

If you tell us your needs we will tell you what we think is the best way of accomplishing it, be it by plugins, edition of views, CSS, options, templates overrides, etc. And if it's really not possible, maybe add some new triggers in following versions.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMwNzAtZXh0ZW5kaW5nLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 10 months ago [\#3104](#3104) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Extending Hikashop](/forum/2-general-talk-about-hikashop/3070-extending-hikashop#3104 "Hi,  First of all I want to congratulate you on the new release 1.4.0 :)  Now to the topic: How much possibilities do you have to extend Hikashop.  For example I made this site in Virtuemart some time ago:   www.almahouse.se/shop/1-baeddlinne/2-bae...ott-i-bomullspercale  As you can see the customers can add a monogram to the linens in the shop and the price is updated depending on how many letters you enter.  I was able to do this extension without any core hacks thanks to the possibility to override Virtuemart's core classes.  Do you think I could do something similar in Hikashop?  I really like Hikashop so far and would love to use it for my clients in the future as well.  Nils")*

I will do that. It's good to just add things you know you need.

---

Hikashop Essential 1.4.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMwNzAtZXh0ZW5kaW5nLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.103 seconds

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