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

#   Gift wrap add to basket

##

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

Less More

- Posts: 7
- Thank you received: 1
-
-

11 years 4 months ago -  11 years 4 months ago [\#205164](#205164) by [sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")  *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205164 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")* was created by *[sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")*

-- HikaShop version -- : 2.1.3
-- Joomla version -- : 2.5.28
-- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket

I have a gift wrap option I'm using personal_note and have a gift wrap product.
After checkout is clicked, I need that page to show a Next button that will both save the personal_note for the giftwrap and add the giftwrap to basket on the condition that the personal_note has been filled out. If not it should go through to checking out without charging the customer.

I'm using a custom template and have the code:

&lt;a href="&lt;?php if (isset($personal_note)) { echo "index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product_id=797&amp;$personal_note"; } ?&gt;" &gt; next &lt;/a&gt;
&lt;?php else { ?&gt;
&lt;a href="index.php?option=com_hikashop&amp;ctrl=1&amp;Itemid=&lt;?php $Itemid ;?&gt;"&gt;Next&lt;/a&gt;
&lt;?php } ?&gt;

I seem to be getting this error:

Parse error: syntax error, unexpected 'else' (T_ELSE) in /home/sites/polyspiraldev.co.uk/public_html/jhjoomla/templates/rt_afterburner_j16/html/com_hikashop/checkout/address.php on line 73

on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.

Would appreciate any help

Last edit: 11 years 4 months ago by [sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 4 months ago [\#205176](#205176) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205176 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

Hello,

> I have a gift wrap option I'm using personal\_note and have a gift wrap product.

Note that this is actually possible to do it without any code customization, you'll just have to use custom fields which are form the "Item" table and which are available through the business version of Hikashop.

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

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

Less More

- Posts: 7
- Thank you received: 1
-
-

11 years 4 months ago -  11 years 4 months ago [\#205260](#205260) by [sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")  Replied by *[sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205260 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

As I said I have that already, that is working but it it needs to add it to the cart and charge for it

Last edit: 11 years 4 months ago by [sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile").

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

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

Less More

- Posts: 7
- Thank you received: 1
-
-

11 years 4 months ago [\#205301](#205301) by [sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")  Replied by *[sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205301 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

Code:

&lt;div&gt; &lt;?php if (isset($personal_note)) { ?&gt; &lt;a href="&lt;?php echo "index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product_id=797&amp;$personal_note"; ?&gt;" &gt; next &lt;/a&gt; &lt;?php } else { ?&gt; &lt;a href="index.php?option=com_hikashop&amp;ctrl=1&amp;Itemid=&lt;?php $Itemid ;?&gt;"&gt;Next&lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt;

I've been given this code from Hikashop themselves, which gave me these errors:
Thanks, I now get this error if I fill in the personal note or if I don't with that code

the URL it returned from the next button was: index.php?option=com_hikashop&amp;ctrl=1&amp;Itemid=

*404 - Page not found : 1
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:

Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below..*

I've replied to them, but if anyone here can solve this that would be great.

Thanks

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

11 years 4 months ago -  11 years 4 months ago [\#205269](#205269) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205269 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

Hi,

So once you have created your two custom item fields, the first one to say if we add a gift wrap and the second displayed based on the value of the first one thanks to the option "Display limited to ", second field which allow to set the text for the gift; you will have to create a custom plugin which will allow to add a charge in the cart based on the value of the custom item field.

Here is the developer documentation:http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html
The plugin "HikaShop Donation plugin" can be taken as example.

If you are not a developer, you can still post your request in the commercial jobs section of this forum.

Regarding the other issue, please replace: Code:

&lt;a href="index.php?option=com_hikashop&amp;ctrl=1&amp;Itemid=&lt;?php $Itemid ;?&gt;"&gt;Next&lt;/a&gt;

By: Code:

&lt;a href="index.php?option=com_hikashop&amp;ctrl=product&amp;Itemid=&lt;?php $Itemid ;?&gt;"&gt;Next&lt;/a&gt;

But please give us the link of the topic giving that code, what was its goal ?

Last edit: 11 years 4 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

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

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

Less More

- Posts: 7
- Thank you received: 1
-
-

11 years 4 months ago [\#205403](#205403) by [sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")  Replied by *[sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205403 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

Thanks, this just seems to refresh the page, the isset isn't working either ​as I've put in:
Code:

&lt;?php if (isset($personal_note)) { ?&gt; [b] Personal note set[/b] &lt;a href="&lt;?php echo "index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product_id=797&amp;$personal_note"; ?&gt;" &gt; next &lt;/a&gt; &lt;?php } else { ?&gt; &lt;a href="index.php?option=com_hikashop&amp;ctrl=product&amp;Itemid=&lt;?php $Itemid ;?&gt;"&gt;Next&lt;/a&gt; &lt;?php } ?&gt;

If it's adding to to the cart (when I get this working) I don't see why I need to create a custom plugin?

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

11 years 4 months ago [\#205407](#205407) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205407 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

Hi,

Please give us more details on that code, where has it been added ? which view ?
If it is in the "checkout / address" one, I don't think it is the best place as this will not check all the products of the cart, and the variables are not correct.

This could be indeed a good solution, but I think that the best place to put the code will be in the view "checkout / step", then on a precise step parse all the products to see the value of their custom fields, based on that count how many gift wrap to add and finally replace the current "next" button code by the one adding product to cart, but this will only add to the cart and not redirect to the next step.

So I really think that a little plugin, not so hard to make, will do the job perfectly ![;)](/media/kunena/emoticons/11.png ";)")

Another question, do you need one gift wrap per product or per order ?

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

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

Less More

- Posts: 7
- Thank you received: 1
-
-

11 years 4 months ago [\#205512](#205512) by [sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")  Replied by *[sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205512 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

Thanks Xavier, It was in address.php, where abouts should I put it in step.php?

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

11 years 4 months ago [\#205517](#205517) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205517 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

The code will have to be heavily adapted to put it in checkout/step.
Please note that this is a user support forum. While we're happy to answer questions and give you guidelines, it's up to you to do the development you need to do.

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

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

Less More

- Posts: 7
- Thank you received: 1
-
-

11 years 4 months ago [\#205605](#205605) by [sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")  Replied by *[sudburydev](/forum/user/37461-sudburydev "View sudburydev's Profile")* on topic *[Gift wrap add to basket](/forum/31-development/877602-gift-wrap-add-to-basket#205605 "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5.28 -- Error-message(debug-mod must be tuned on) -- : Gift wrap add to basket  I have a gift wrap option I'm using personal&#95;note and have a gift wrap product. After checkout is clicked, I need that page to show a Next button that will both save the personal&#95;note for the giftwrap and add the giftwrap to basket on the condition that the personal&#95;note has been filled out. If not it should go through to checking out without charging the customer.  I'm using a custom template and have the code:   next   Next   I seem to be getting this error:  Parse error: syntax error, unexpected 'else' (T&#95;ELSE) in /home/sites/polyspiraldev.co.uk/public&#95;html/jhjoomla/templates/rt&#95;afterburner&#95;j16/html/com&#95;hikashop/checkout/address.php on line 73  on the page so I know there is something wrong, I'm sure I have some of the variables wrong to.  Would appreciate any help")*

Thanks, I'v posted it in the commercial section on here and on oDesk

Thanks for your help

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

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

[](#top)
