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

#   Invoice button doesn't work

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 2 months ago [\#119482](#119482) by [kogor](/forum/user/25386-kogor "View kogor's Profile")  *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#119482 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")* was created by *[kogor](/forum/user/25386-kogor "View kogor's Profile")*

Hi,

I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.

-- url of the page with the problem -- : [ johnnycakes.ru](http://johnnycakes.ru)
-- HikaShop version -- : HikaShop Starter: 2.2.0
-- Joomla version -- : 3.1.5.
-- Browser(s) name and version -- : Chrome 28.0., Opera 15.0

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

13 years 2 months ago [\#119634](#119634) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#119634 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")*

Hi,

Have you edited any views related on the invoice ?
If it is, thanks to remove the modifications and try again.

Can you see if you have an error in your browser console ? (you can activate it by pressing the F12 key, then go in the console part).

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 2 months ago [\#119724](#119724) by [kogor](/forum/user/25386-kogor "View kogor's Profile")  Replied by *[kogor](/forum/user/25386-kogor "View kogor's Profile")* on topic *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#119724 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")*

I haven't edited any views. I guess.
But I don't clearly understand what is 'editing views'.
And, yes - there's an error in browser's console 'Uncaught SyntaxError: Unexpected token } '. Code:

&lt;button onclick="http://johnnycakes.ru/administrator/index.php?option=com_hikashop&amp;ctrl=order&amp;task=invoice&amp;tmpl=component&amp;type=shipping&amp;order_id=31" class="btn btn-small modal" data-toggle="modal" data-target="#modal-Shipping"&gt; &lt;i class="icon-cog"&gt;&lt;/i&gt; Uncaught SyntaxError: Unexpected token } Shipping invoice&lt;/button&gt;

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

13 years 2 months ago [\#119802](#119802) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#119802 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")*

Could you provide more details on that error ? In the browser's console, there should be a way to see on which line of which file that syntax error is. Knowing that will help us understand where that error is coming from.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 2 months ago [\#119814](#119814) by [kogor](/forum/user/25386-kogor "View kogor's Profile")  Replied by *[kogor](/forum/user/25386-kogor "View kogor's Profile")* on topic *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#119814 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")*

Only one URL I can see related to this error in cosole: [ johnnycakes.ru/administrator/index.php?o...=order&amp;task=edit&amp;cid](http://johnnycakes.ru/administrator/index.php?option=com_hikashop&ctrl=order&task=edit&cid)[]=32&amp;cancel_redirect=L2FkbWluaXN0cmF0b3IvaW5kZXgucGhwP29wdGlvbj1jb21faGlrYXNob3AmYW1wO2N0cmw9b3JkZXI%3D
And the line of the error is 385.

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

13 years 2 months ago [\#119824](#119824) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#119824 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")*

And could you provide the code that you have around that line of that file ? (look at the HTML source code of the page with your browser).

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 2 months ago -  13 years 2 months ago [\#119885](#119885) by [kogor](/forum/user/25386-kogor "View kogor's Profile")  Replied by *[kogor](/forum/user/25386-kogor "View kogor's Profile")* on topic *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#119885 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")*

Sure. Here you are Code:

&lt;div class="btn-wrapper" id="toolbar-popup-shipping#shipping"&gt; &lt;button onclick="http://johnnycakes.ru/administrator/index.php?option=com_hikashop&amp;ctrl=order&amp;task=invoice&amp;tmpl=component&amp;type=shipping&amp;order_id=32" class="btn btn-small modal" data-toggle="modal" data-target="#modal-Shipping"&gt; &lt;i class="icon-cog"&gt;&lt;/i&gt; Uncaught SyntaxError: Unexpected token } Shipping invoice&lt;/button&gt; &lt;/div&gt;

Last edit: 13 years 2 months ago by [kogor](/forum/user/25386-kogor "View kogor's Profile").

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 2 months ago [\#119888](#119888) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#119888 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")*

Actually what we need is the code around the line 385 in the file specified by the console.
This is probably a Hikashop file like the invoice.php (but it may be something else)

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 1 month ago [\#121950](#121950) by [kogor](/forum/user/25386-kogor "View kogor's Profile")  Replied by *[kogor](/forum/user/25386-kogor "View kogor's Profile")* on topic *[Invoice button doesn't work](/forum/35-orders-management/861245-invoice-button-doesnt-work#121950 "Hi,  I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.  -- url of the page with the problem -- :   johnnycakes.ru  -- HikaShop version -- : HikaShop Starter: 2.2.0 -- Joomla version -- : 3.1.5. -- Browser(s) name and version -- : Chrome 28.0., Opera 15.0")*

This bug has gone after last update. Thanx

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

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

[](#top)
