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

#   Specific add to cart link with options and chara

##

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

Less More

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

11 years 5 months ago -  11 years 5 months ago [\#202083](#202083) by [Mikemike](/forum/user/30063-mikemike "View Mikemike's Profile")  *[Specific add to cart link with options and chara](/forum/26-product-category-display/877025-specific-add-to-cart-link-with-options-and-chara#202083 "-- HikaShop version -- : 2.4.0  Hey guys ,  I have a very special question for you. I have a product on my page with some charasteristics and some options.  Now, the costumer can graphically &quot;build&quot; his own product as it suits him. When the costumer is finish, the product will be put in the cart.  So what I need to know is, how can I create the right add to cart link for sending the right ajax statement with all the wanted options and charasteristics?  I know what ID's the charasteristcs and the options have, so I basically only need some hints how to create the right link for such an product.  Thanks for you time and help guys, Best regards,  p.s. see the link I put in above to see what I mean")* was created by *[Mikemike](/forum/user/30063-mikemike "View Mikemike's Profile")*

-- HikaShop version -- : 2.4.0

Hey guys ,

I have a very special question for you.
I have a product on my page with some charasteristics and some options.

Now, the costumer can graphically "build" his own product as it suits him.
When the costumer is finish, the product will be put in the cart.

So what I need to know is, how can I create the right add to cart link for sending the right ajax statement with all the wanted options and charasteristics?

I know what ID's the charasteristcs and the options have, so I basically only need some hints how to create the right link for such an product.

Thanks for you time and help guys,
Best regards,

p.s. see the link I put in above to see what I mean

Last edit: 11 years 5 months ago by [Mikemike](/forum/user/30063-mikemike "View Mikemike's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzcwMjUtc3BlY2lmaWMtYWRkLXRvLWNhcnQtbGluay13aXRoLW9wdGlvbnMtYW5kLWNoYXJhP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

11 years 5 months ago [\#202120](#202120) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Specific add to cart link with options and chara](/forum/26-product-category-display/877025-specific-add-to-cart-link-with-options-and-chara#202120 "-- HikaShop version -- : 2.4.0  Hey guys ,  I have a very special question for you. I have a product on my page with some charasteristics and some options.  Now, the costumer can graphically &quot;build&quot; his own product as it suits him. When the costumer is finish, the product will be put in the cart.  So what I need to know is, how can I create the right add to cart link for sending the right ajax statement with all the wanted options and charasteristics?  I know what ID's the charasteristcs and the options have, so I basically only need some hints how to create the right link for such an product.  Thanks for you time and help guys, Best regards,  p.s. see the link I put in above to see what I mean")*

Hi,

You would want to call such URL: Code:

http://mywebsite.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=AAA&amp;product_id=BBB&amp;cart_type=cart&amp;add=1&amp;hikashop_product_option[0]=CCC&amp;hikashop_product_option[1]=DDD

AAA = quantity of the product
BBB = id of the variant selected
CCC = id of the first option selected
DDD = id of the second option selected

The following user(s) said Thank You: [Mikemike](/forum/user/30063-mikemike "View Mikemike's Profile")

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

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

Less More

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

11 years 5 months ago [\#202158](#202158) by [Mikemike](/forum/user/30063-mikemike "View Mikemike's Profile")  Replied by *[Mikemike](/forum/user/30063-mikemike "View Mikemike's Profile")* on topic *[Specific add to cart link with options and chara](/forum/26-product-category-display/877025-specific-add-to-cart-link-with-options-and-chara#202158 "-- HikaShop version -- : 2.4.0  Hey guys ,  I have a very special question for you. I have a product on my page with some charasteristics and some options.  Now, the costumer can graphically &quot;build&quot; his own product as it suits him. When the costumer is finish, the product will be put in the cart.  So what I need to know is, how can I create the right add to cart link for sending the right ajax statement with all the wanted options and charasteristics?  I know what ID's the charasteristcs and the options have, so I basically only need some hints how to create the right link for such an product.  Thanks for you time and help guys, Best regards,  p.s. see the link I put in above to see what I mean")*

Hey Nic,

thanks for the fast answer.
Hmm so in the product_id goes the charasteristics id?
I have two charasteristics whithin my product, any idea how to put that second in the get request as well?

Thanks,

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

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

Less More

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

11 years 5 months ago [\#202176](#202176) by [Mikemike](/forum/user/30063-mikemike "View Mikemike's Profile")  Replied by *[Mikemike](/forum/user/30063-mikemike "View Mikemike's Profile")* on topic *[Specific add to cart link with options and chara](/forum/26-product-category-display/877025-specific-add-to-cart-link-with-options-and-chara#202176 "-- HikaShop version -- : 2.4.0  Hey guys ,  I have a very special question for you. I have a product on my page with some charasteristics and some options.  Now, the costumer can graphically &quot;build&quot; his own product as it suits him. When the costumer is finish, the product will be put in the cart.  So what I need to know is, how can I create the right add to cart link for sending the right ajax statement with all the wanted options and charasteristics?  I know what ID's the charasteristcs and the options have, so I basically only need some hints how to create the right link for such an product.  Thanks for you time and help guys, Best regards,  p.s. see the link I put in above to see what I mean")*

Oh boy,

now I got you. Each version of the charasteristics of the product have a different id.

Thanks

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

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

[](#top)
