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

#   Add to Cart URL

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 4 months ago [\#17728](#17728) by [mattpru](/forum/user/1901-mattpru "View mattpru's Profile")  *[Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#17728 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")* was created by *[mattpru](/forum/user/1901-mattpru "View mattpru's Profile")*

Me again!

My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.

Is there any way that I can take the details that would normally be added to the cart when you click "Add to Cart" button and have it add to RomanCart rather than HikaShop?

Please let me know if this is something you won't support. I'd completely understand!

Thanks

Matt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3NzI4LWFkZC10by1jYXJ0LXVybD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 4 months ago [\#17734](#17734) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#17734 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

It should be possible. But I don't know RomanCart at all so I can't help you much. What I can say:
You will have to edit the file quantity of the view product via the menu Display-&gt;Views in order to change the add to cart button into a romancart "add to cart" button so that it would add the equivalent product in the romancart cart instead of the hikashop cart when the user click on it.
I don't know how you can have external 'add to cart' buttons with romancart and that's something you should ask them.

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 4 months ago [\#19347](#19347) by [mattpru](/forum/user/1901-mattpru "View mattpru's Profile")  Replied by *[mattpru](/forum/user/1901-mattpru "View mattpru's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#19347 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

Hi there

Slow delay as a little bundle of joy turned up whilst in the middle of about 3 sites!

RomanCart simply uses these fields to add to their cart-

&lt;form action=http://www.romancart.com/cart.asp method=post&gt;
&lt;input type=hidden name=itemname value="Half Chaps: HIGH VISIBILITY V-LINE"&gt;
&lt;input type=hidden name=itemname2 value="CS"&gt;
&lt;input type=hidden name=itemname3 value="Pink Piping"&gt;
&lt;input type=hidden name=itemname4 value=""&gt;
&lt;input type=hidden name=price value="22.99"&gt;
&lt;input type=hidden name=weight value="800"&gt;
&lt;input type=hidden name=storeid value="18376"&gt;
&lt;input type=hidden name=passthru value=""&gt;
&lt;input type=hidden name=tax value=0&gt;
&lt;input name="quantity" type="text" value="1"&gt;
&lt;input type="submit" name="Submit" value="ADD TO BASKET" /&gt;

What views do I change to achieve this? Obviously product size and colour are dynamically changed on the page so that has to update itemname2 and itemname3 values.

Thanks
Matt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3NzI4LWFkZC10by1jYXJ0LXVybD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 4 months ago [\#19354](#19354) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#19354 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

You need to edit the file "quantity" of the view "product" via the menu Display-&gt;Views. There you can add your HTML code instead of the add to cart display button.
The information of the product is in the variable $this-&gt;row.
So for example, you could do like that :
&lt;input type=hidden name=itemname value="&lt;?php echo $this-&gt;row-&gt;product_name; ?&gt;"&gt;
&lt;input type=hidden name=price value="&lt;?php echo $this-&gt;row-&gt;prices[0]-&gt;price_value; ?&gt;"&gt;

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 4 months ago [\#19355](#19355) by [mattpru](/forum/user/1901-mattpru "View mattpru's Profile")  Replied by *[mattpru](/forum/user/1901-mattpru "View mattpru's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#19355 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

You are very very clever.

Thank you so much!

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 4 months ago [\#19381](#19381) by [mattpru](/forum/user/1901-mattpru "View mattpru's Profile")  Replied by *[mattpru](/forum/user/1901-mattpru "View mattpru's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#19381 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

I've tried to figure this one out for myself but how do you get the characteristic variant value?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3NzI4LWFkZC10by1jYXJ0LXVybD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 4 months ago [\#19384](#19384) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#19384 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

The product name should already contain the product name+characteristic value if you kept the "Append characteristic value to product name" option turned on in the Display tab of the configuration.

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 4 months ago [\#19387](#19387) by [mattpru](/forum/user/1901-mattpru "View mattpru's Profile")  Replied by *[mattpru](/forum/user/1901-mattpru "View mattpru's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#19387 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

It's not adding it in even though I have that turned on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3NzI4LWFkZC10by1jYXJ0LXVybD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 4 months ago [\#19403](#19403) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#19403 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

Could you give a link to the page ?

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 4 months ago [\#19454](#19454) by [mattpru](/forum/user/1901-mattpru "View mattpru's Profile")  Replied by *[mattpru](/forum/user/1901-mattpru "View mattpru's Profile")* on topic *[Re: Add to Cart URL](/forum/4-how-to/17728-add-to-cart-url#19454 "Me again!  My client has now asked if we can use their current RomanCart system for payment side. I've already built all the product in to HikaShop and it's much better for organising product, stock and colour options, sizes etc.  Is there any way that I can take the details that would normally be added to the cart when you click &quot;Add to Cart&quot; button and have it add to RomanCart rather than HikaShop?  Please let me know if this is something you won't support. I'd completely understand!  Thanks  Matt")*

Not to worry. I've managed to figure it all out!

Thank you for your help.

Matt

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

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

[](#top)
