checkout popup, there is a square icon
-- HikaShop version -- : 2.2.1x
-- Joomla version -- : 3.1x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
In the continue shopping or checkout popup, there is a square icon. What is it and how do I edit it?
ertmania.dk - Elektronik-produkter - gaver til børn
Please Log in or Create an account to join the conversation.
HikaShop uses the default Joomla messaging style for this message.
It's like when you have a success or an error message.
You have to edit your template if you want to customize it.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- Posts: 4
- Thank you received: 0
Anyone know how to change the width and height of the box?
I'm a little newbie with that and i can't identify which file modify.
Thanks,
Please Log in or Create an account to join the conversation.
You should take a look at our documentation: www.hikashop.com/support/2013-08-08-00-1...ize-the-display.html
It's giving some keys to customize the display so you should be able to change the size of the popup
The interesting css property for you in this case is the width and the height of the popup.
Please Log in or Create an account to join the conversation.
- Posts: 4
- Thank you received: 0
I've been looking at the documentation and I searched through the CSS and can not find where to change the dimensions of the box.
The code:
"sbox-window" is not in the CSS and Iframe also has the dimensions specified.
Please Log in or Create an account to join the conversation.
You can do it by overriding the "hikashop_popup_render" function.
www.hikashop.com/support/documentation/6...tation.html#override
Like the other function override, this "hikashop_popup_render" return the code for the notice popup.
By default his code is:
It is a system that we want to improve in the future but for the moment, you have to use the same technique than the other overrides explained in the developer documentation.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Thanks
Please Log in or Create an account to join the conversation.
- Posts: 4
- Thank you received: 0
Please Log in or Create an account to join the conversation.
ertmania.dk - Elektronik-produkter - gaver til børn
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 4
- Thank you received: 0
Please Log in or Create an account to join the conversation.
This was my solution:
1. remove component.php from your template folder
2. added this to frontend css file:
#system-message-container, #hikashop_notice_box_content {width: 450px;overflow:hidden;}
My scroll bars disappeared as well as the bullet icon.
Please Log in or Create an account to join the conversation.
When I insert the code in wordpad hte formatting is removed when saved. Does that mean anything?
ertmania.dk - Elektronik-produkter - gaver til børn
Please Log in or Create an account to join the conversation.
Please use an editor which will be more appropriate for editing PHP files.
Like "Notepad++" for example (but there are a lot of different editors).
If your message disappears with your hikashop_button.php, I think that your file is empty or does not contains the right data.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
The code:
return '<div style="display:none;">'.
'<a rel="{handler: \'iframe\',size: {x: 480, y: 140}}" id="hikashop_notice_box_trigger_link" href="'.hikashop_completeLink('checkout&task=notice'.$url_itemid,true).'"></a>'.
'<a rel="{handler: \'iframe\',size: {x: 480, y: 140}}" id="hikashop_notice_wishlist_box_trigger_link" href="'.hikashop_completeLink('checkout&task=notice&cart_type=wishlist'.$url_itemid,true).'"></a>'.
'</div>';
}
I uploaded the file to the template I use/html and the popup message is gone and this is shown: function hikashop_popup_render() {
function hikashop_popup_render() { return ''; }
ertmania.dk - Elektronik-produkter - gaver til børn
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
But, now the popup box just show a part of the message container?
ertmania.dk - Elektronik-produkter - gaver til børn
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.