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

#   Adding Add to Cart Functionality in JQUERY script.

##

- **[sashco](/forum/user/31994-sashco "View sashco's Profile")**
- [![sashco's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/31994-sashco "View sashco's Profile") Topic Author
- [ Offline](/forum/user/31994-sashco)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 4 months ago [\#162888](#162888) by [sashco](/forum/user/31994-sashco "View sashco's Profile")  *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#162888 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")* was created by *[sashco](/forum/user/31994-sashco "View sashco's Profile")*

I'll keep it simple:

I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2OTQ4OS1hZGRpbmctYWRkLXRvLWNhcnQtZnVuY3Rpb25hbGl0eS1pbi1qcXVlcnktc2NyaXB0P3RtcGw9bWFya2Rvd24=) 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: 86560
- Thank you received: 14307
-
-

12 years 4 months ago [\#162892](#162892) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#162892 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

Hi,

First, you want to setup the donation plugin:
[ demo.hikashop.com/index.php?option=com\_h...show&amp;cid=214&amp;lang=en](http://demo.hikashop.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=214&lang=en)
That way you can have a product where the price can vary.
then, you can just redirect the customer to the add to cart URL of that donation product with the price injected in the custom field via a parameter in the redirection URL. You can read more about that here:
[ www.hikashop.com/forum/2-general-talk-ab...-product-fields.html](http://www.hikashop.com/forum/2-general-talk-about-hikashop/16216-add-to-cart-link-and-custom-product-fields.html)

The following user(s) said Thank You: [sashco](/forum/user/31994-sashco "View sashco's Profile")

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

- **[sashco](/forum/user/31994-sashco "View sashco's Profile")**
- [![sashco's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/31994-sashco "View sashco's Profile") Topic Author
- [ Offline](/forum/user/31994-sashco)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 4 months ago -  12 years 4 months ago [\#163304](#163304) by [sashco](/forum/user/31994-sashco "View sashco's Profile")  Replied by *[sashco](/forum/user/31994-sashco "View sashco's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#163304 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

Thank you so much! I'm going to give this a try. I appreciate your help. One question though, where do I get that plugin?

Last edit: 12 years 4 months ago by [sashco](/forum/user/31994-sashco "View sashco's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 4 months ago [\#163410](#163410) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#163410 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

Hi,

You should be able to find the plugin "custom price" via System &gt; Plugins.

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

- **[sashco](/forum/user/31994-sashco "View sashco's Profile")**
- [![sashco's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/31994-sashco "View sashco's Profile") Topic Author
- [ Offline](/forum/user/31994-sashco)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 4 months ago [\#163420](#163420) by [sashco](/forum/user/31994-sashco "View sashco's Profile")  Replied by *[sashco](/forum/user/31994-sashco "View sashco's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#163420 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

I don't see any plugins there, unless I click on "new." Even in there, there are no plugins called custom price.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2OTQ4OS1hZGRpbmctYWRkLXRvLWNhcnQtZnVuY3Rpb25hbGl0eS1pbi1qcXVlcnktc2NyaXB0P3RtcGw9bWFya2Rvd24=) 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: 86560
- Thank you received: 14307
-
-

12 years 4 months ago [\#163448](#163448) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#163448 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

The plugin is called "HikaShop Donation plugin" and can be found in the Joomla plugins manager.

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

- **[sashco](/forum/user/31994-sashco "View sashco's Profile")**
- [![sashco's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/31994-sashco "View sashco's Profile") Topic Author
- [ Offline](/forum/user/31994-sashco)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 4 months ago [\#163552](#163552) by [sashco](/forum/user/31994-sashco "View sashco's Profile")  Replied by *[sashco](/forum/user/31994-sashco "View sashco's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#163552 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

Found it.... Was looking in Hikashop plugins. Do I need to do something in Hikashop once enabled in Joomla? I don't see the plugins enabled listed in Hikashop plugins (in the hikashop configuration).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2OTQ4OS1hZGRpbmctYWRkLXRvLWNhcnQtZnVuY3Rpb25hbGl0eS1pbi1qcXVlcnktc2NyaXB0P3RtcGw9bWFya2Rvd24=) 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: 86560
- Thank you received: 14307
-
-

12 years 4 months ago [\#163587](#163587) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#163587 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

It's nomal that you don't see it in HikaShop configuration.
There is nothing else to do to activate it.
Of course, make sure that you created the custom item field as explained in the link I first gave you:
[ demo.hikashop.com/index.php?option=com\_h...show&amp;cid=214&amp;lang=en](http://demo.hikashop.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=214&lang=en)

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

- **[sashco](/forum/user/31994-sashco "View sashco's Profile")**
- [![sashco's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/31994-sashco "View sashco's Profile") Topic Author
- [ Offline](/forum/user/31994-sashco)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 3 months ago [\#165328](#165328) by [sashco](/forum/user/31994-sashco "View sashco's Profile")  Replied by *[sashco](/forum/user/31994-sashco "View sashco's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#165328 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

I'm somewhat confused by the explanation on the link provided.

> "The donation plugin is already installed by default with the Business edition of HikaShop. You can find it in the folder plugins/system/custom\_price of your website if you want to see its code."

**Found it, now I don't know what to do next.**

> "You will have to create a custom field of the table "item" with the column name "amount" in order to use it.
> You can take example on our backend setup of this product and custom field in order to get the same result on your end."

I apologize, but I am lost. I This is one of the most important features on our site and I want to make sure I get this right. I'm using a custom product script; where people can design a product, and the price is variable based on what images, fonts, etc. they chose. I need the price set by that script to populate hikacart. I understand this is the plugin that I need to use, but I don't get where I'm creating a column "amount", and what script I need to add in order to use this functionality in my site.

I would really appreciate your help with this. I will make sure to include hikashop mentions on our website, and we do get a lot of press.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2OTQ4OS1hZGRpbmctYWRkLXRvLWNhcnQtZnVuY3Rpb25hbGl0eS1pbi1qcXVlcnktc2NyaXB0P3RtcGw9bWFya2Rvd24=) 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: 86560
- Thank you received: 14307
-
-

12 years 3 months ago [\#165345](#165345) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#165345 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

Hi,

You need to create a custom field in your HikaShop backend. That can be done via the menu Display&gt;Custom fields in HikaShop. Just set it similarly to how we created in the backend of the demo website in that same menu.

Then, you need to redirect to the add to cart URL of the product with the extra parameter for the price in the URL as explained in the second link I gave ( [ www.hikashop.com/forum/2-general-talk-ab...-product-fields.html](http://www.hikashop.com/forum/2-general-talk-about-hikashop/16216-add-to-cart-link-and-custom-product-fields.html) ). Such redirect can be done in javascript with the window.location.href attribute ( [ www.w3schools.com/jsref/prop\_loc\_href.asp](http://www.w3schools.com/jsref/prop_loc_href.asp) ) that you can add in your customization tool's code.

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

- **[sashco](/forum/user/31994-sashco "View sashco's Profile")**
- [![sashco's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/31994-sashco "View sashco's Profile") Topic Author
- [ Offline](/forum/user/31994-sashco)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 2 months ago [\#168052](#168052) by [sashco](/forum/user/31994-sashco "View sashco's Profile")  Replied by *[sashco](/forum/user/31994-sashco "View sashco's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#168052 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

Would you help integrate this, and if so, how much would you charge?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2OTQ4OS1hZGRpbmctYWRkLXRvLWNhcnQtZnVuY3Rpb25hbGl0eS1pbi1qcXVlcnktc2NyaXB0P3RtcGw9bWFya2Rvd24=) 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: 86560
- Thank you received: 14307
-
-

12 years 2 months ago [\#168091](#168091) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding Add to Cart Functionality in JQUERY script.](/forum/25-install-update/869489-adding-add-to-cart-functionality-in-jquery-script#168091 "I'll keep it simple:  I have a product customize tool, which allows customers to design a product. It changes the price, based on the options that they chose. My question is, how do I integrate this with hikashop?")*

We won't but you can contact our partners for a quote on that development project:
[ www.hikashop.com/home/our-partners.html](http://www.hikashop.com/home/our-partners.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2OTQ4OS1hZGRpbmctYWRkLXRvLWNhcnQtZnVuY3Rpb25hbGl0eS1pbi1qcXVlcnktc2NyaXB0P3RtcGw9bWFya2Rvd24=) 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.076 seconds

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