Skip to main content

Invoice button doesn't work

More
13 years 1 month ago #119482 by kogor
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

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #119634 by Xavier
Replied by Xavier on topic Invoice button doesn't work
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 or Create an account to join the conversation.

More
13 years 1 month ago #119724 by kogor
Replied by kogor on topic Invoice button doesn't work
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:
<button onclick="http://johnnycakes.ru/administrator/index.php?option=com_hikashop&ctrl=order&task=invoice&tmpl=component&type=shipping&order_id=31" class="btn btn-small modal" data-toggle="modal" data-target="#modal-Shipping"> <i class="icon-cog"></i> Uncaught SyntaxError: Unexpected token } Shipping invoice</button>

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #119802 by nicolas
Replied by nicolas on topic Invoice button doesn't work
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 or Create an account to join the conversation.

More
13 years 1 month ago #119814 by kogor
Replied by kogor on topic Invoice button doesn't work
Only one URL I can see related to this error in cosole: johnnycakes.ru/administrator/index.php?o...=order&task=edit&cid []=32&cancel_redirect=L2FkbWluaXN0cmF0b3IvaW5kZXgucGhwP29wdGlvbj1jb21faGlrYXNob3AmYW1wO2N0cmw9b3JkZXI%3D
And the line of the error is 385.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #119824 by nicolas
Replied by nicolas on topic Invoice button doesn't work
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 or Create an account to join the conversation.

More
13 years 1 month ago - 13 years 1 month ago #119885 by kogor
Replied by kogor on topic Invoice button doesn't work
Sure. Here you are
Code:
<div class="btn-wrapper" id="toolbar-popup-shipping#shipping"> <button onclick="http://johnnycakes.ru/administrator/index.php?option=com_hikashop&ctrl=order&task=invoice&tmpl=component&type=shipping&order_id=32" class="btn btn-small modal" data-toggle="modal" data-target="#modal-Shipping"> <i class="icon-cog"></i> Uncaught SyntaxError: Unexpected token } Shipping invoice</button> </div>
Last edit: 13 years 1 month ago by kogor.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #119888 by Eliot
Replied by Eliot on topic Invoice button doesn't work
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 or Create an account to join the conversation.

More
13 years 1 month ago #121950 by kogor
Replied by kogor on topic Invoice button doesn't work
This bug has gone after last update. Thanx

Please Log in or Create an account to join the conversation.

Time to create page: 0.282 seconds
Powered by Kunena Forum