Change size of sbox window pop up

  • Posts: 73
  • Thank you received: 1
11 years 5 months ago #104843

Whenever I add an item to my cart, the box that pops up has a scroll bar inside. This is due to me changing some text inside of it which increased its size, but the box itself didn't change size. How can I fix this?

Thanks!

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 5 months ago #104914

You have to makde a specific override like explain in our developper documentation (For the quantity input)
www.hikashop.com/en/support/documentatio...tation.html#override

And, in the quantity override, you have to override put function:

function hikashop_popup_render() {
	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>';
}
You can change the values "x" and "y" in order to change the size of the popup.

But, depending to your template, it is possible that, growing the size of the popup will not remove the scrollbar.
It could be a CSS problem with your template.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 11 years 5 months ago by Jerome.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum