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

#   how do i control the add to cart landing page?

##

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18047](#18047) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  *[how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18047 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")* was created by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")*

how do i control the add to cart landing page?

i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?

example--
1)
normal add to cart page

2)
i just added a phone and the landing page is making sure i add a plan.

3)
i just added a plan to my cart and the landing page is asking me if i want a phone.

how can i make this happen?

thanks in advance your the best ![:)](/media/kunena/emoticons/3.png ":)")

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

15 years 5 months ago [\#18049](#18049) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18049 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

What I would do:
Edit the file cart of the view checkout via the menu Display-&gt;Views. There, add some code to check on the content of cart and if the cart has a phone and no plan redirect to where you want or if the cart has a plan and no phone, redirect where you want.

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18052](#18052) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18052 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

oohh come on Nicolas i knew that much lol.. can i get a bit more of a hint? a few lines of code for this poor fellow.. ![:(](/media/kunena/emoticons/22.png ":(")

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

15 years 5 months ago [\#18055](#18055) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18055 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

I don't know who knows what. Some things might seem obvious for some and not for others. I'm trying my best to content everyone...
If you knew that much, then, you could have figured the code... It's just 10 lines of code:
$phone = $plan = false;
foreach($this-&gt;rows as $i =&gt; $row){
if($row-&gt;type_of_product=='plan') $plan=true;
if($row-&gt;type_of_product=='phone') $plan=true;
}
$app =&amp; JFactory::getApplication();
if($phone &amp;&amp; !$plan){
$app-&gt;redirect('my_link_1');
}elseif(!$phone &amp;&amp; $plan){
$app-&gt;redirect('my_link_2');
}

You need also to have a custom field of the table 'product' with the values 'plan' and 'phone' and the column name type_of_product so that you can select whether a product is a plan or a phone.

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18118](#18118) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18118 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

where would i add the custom fields of the table product? where would i find the table? if i go to display ---&gt; custom field, and i try to create a field it automatically picks address as the table.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

15 years 5 months ago [\#18124](#18124) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18124 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

HikaShop Starter just allows custom fields on "address" table.

You need a commercial version of HikaShop in order to have more possibilities.
[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/custom_fields.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/custom_fields.jpg "&#91;img")

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

- [ ![custom&#95;fields.jpg](/forum/attachment/1228) ](/forum/attachment/1228 "custom&#95;fields.jpg") [ ](/forum/attachment/1228?download=1 "custom&#95;fields.jpg")

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18134](#18134) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18134 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

well i be buying hikashop in the new future, best shop for joomla hands down.

but is there any other way i can trigger this?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

15 years 5 months ago [\#18137](#18137) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18137 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

Well, if you want to add some other values to a product you can modify views in order to process some "hidden" text which would be added in the description.
It's quite weird, you have to parse description in several views in order to remove the "hidden" text and process it in the product page to display extra data.. But it could work !

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18223](#18223) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18223 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

Jerome i got to make this happen in the next 2 hours, or i might get fired ![:(](/media/kunena/emoticons/22.png ":(") , $20 bucks in it for you if you can help me get this done.. please!!

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

15 years 5 months ago [\#18232](#18232) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18232 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

The only way to implement it in 2 hours is to use the commercial version (begins with the Essential version) and to use code that Nicolas posted.

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18254](#18254) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18254 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

ok i just purchased it, i have created the field in the table as a radio box with the values i want, now how do i connect this with the product, i don't see it anywhere.

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

15 years 5 months ago [\#18263](#18263) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18263 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

It should be displayed on the product edition screen.
If not, please do a screenshot of the custom field options.

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18268](#18268) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18268 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

some of the options to view weren't set, got it to show now know. thanks.. i got a bug that needs to be addressed. i posted under the Bug report. check it out for me please. thank you ![:)](/media/kunena/emoticons/3.png ":)") HIKASHOP all the way!!

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18272](#18272) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18272 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

I got it to go the the other page i wanted but now it stays there even after i click the add to cart link on the page it landed on check it.

[ 206.217.193.31/~iqcell/index.php/phones/.../category\_pathway-22](http://206.217.193.31/~iqcell/index.php/phones/product/show/cid-2/name-tour-9630/category_pathway-22)

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18281](#18281) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18281 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

Nicolas I know your busy buddy, but I bought hika just to make this work. Can you help me out please..

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

15 years 5 months ago [\#18284](#18284) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18284 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

The problem is probably with the code you used for the redirects. Please copy/paste it here so that we can see what you did. and also do a screenshot of your custom fields options.

Posting several times won't make me answer faster. We're doing the best we can to answer everyone...

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18292](#18292) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18292 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

i am using this code

$phone = $plan = false;
foreach($this-&gt;rows as $i =&gt; $row){
if($row-&gt;type_of_product=='plan') $plan=true;
if($row-&gt;type_of_product=='phone') $plan=true;
}
$app =&amp; JFactory::getApplication();
if($phone &amp;&amp; !$plan){
}elseif(!$phone &amp;&amp; $plan){
$app-&gt;redirect('[ 206.217.193.31/~iqcell/index.php?option=...t&amp;view=article&amp;id=18](http://206.217.193.31/~iqcell/index.php?option=com_content&view=article&id=18)');
}

What i want to Happen is that if there is a Phone in the Cart, to take the user to a page offering to check out or select a plan. there will be links on that page to add a plan to the cart. not with the Add to Cart Button but using the hyperlink from the Add to cart Html of a Product.

As of now when i add the phone it takes me to the page where the plans are but after i click the link to add the plan to the cart. it stays on the same page.

Look forward for to the solution.

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

15 years 5 months ago [\#18301](#18301) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18301 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

Please do a screenshot of your custom fields options.

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18336](#18336) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18336 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

here they are.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Untitled_1-20110609.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Untitled_1-20110609.jpg "&#91;img")

- [ ![Untitled&#95;1-20110609.jpg](/forum/attachment/1238) ](/forum/attachment/1238 "...1-20110609.jpg") [ ](/forum/attachment/1238?download=1 "...1-20110609.jpg")

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

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

Less More

- Posts: 156
- Thank you received: 0
-
-

15 years 5 months ago [\#18337](#18337) by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")  Replied by *[Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")* on topic *[Re: how do i control the add to cart landing page?](/forum/4-how-to/18047-how-do-i-control-the-add-to-cart-landing-page#18337 "how do i control the add to cart landing page?  i want to have 3 different pages where someone might land after adding a item to the cart different item different page they will be landing on. how can i make that happen with HikaShop?  example-- 1) normal add to cart page  2) i just added a phone and the landing page is making sure i add a plan.  3) i just added a plan to my cart and the landing page is asking me if i want a phone.  how can i make this happen?  thanks in advance your the best :)")*

Here is inside the field.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Untitled_2.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Untitled_2.jpg "&#91;img")

- [ ![Untitled&#95;2.jpg](/forum/attachment/1239) ](/forum/attachment/1239 "Untitled&#95;2.jpg") [ ](/forum/attachment/1239?download=1 "Untitled&#95;2.jpg")

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

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