Characteristics Pop Up Alert
12 years 11 months ago #127221
by mindstorm
Characteristics Pop Up Alert was created by mindstorm
-- url of the page with the problem -- :
67.19.179.163/~fudge/
-- HikaShop version -- : HikaShop Business: 2.2.1
-- Joomla version -- : 2.5.14
-- PHP version -- : N/A
-- Browser(s) name and version -- : Firefox/Safari
-- Error-message(debug-mod must be tuned on) -- : N/A
We need a 1 lb. minimum order weight however we offer product in .5 lb. 'characteristics'. Is it possible to have a pop up alert when someone changes a characteristic to the .5 lb. option? We would like it to say - "1 lb. Minimum order - Mix and Match .5 lb slices of your choice!"
67.19.179.163/~fudge/index.php/hikashop-...1-butter-pecan-fudge
-- HikaShop version -- : HikaShop Business: 2.2.1
-- Joomla version -- : 2.5.14
-- PHP version -- : N/A
-- Browser(s) name and version -- : Firefox/Safari
-- Error-message(debug-mod must be tuned on) -- : N/A
We need a 1 lb. minimum order weight however we offer product in .5 lb. 'characteristics'. Is it possible to have a pop up alert when someone changes a characteristic to the .5 lb. option? We would like it to say - "1 lb. Minimum order - Mix and Match .5 lb slices of your choice!"
67.19.179.163/~fudge/index.php/hikashop-...1-butter-pecan-fudge
Please Log in or Create an account to join the conversation.
12 years 11 months ago #127270
by Xavier
Replied by Xavier on topic Characteristics Pop Up Alert
Hi,
By default if you restrict the shipping method to a weight of min 1lb, then a message will be displayed in the checkout to say that the weight is enough.
You can customize this message to what you want thanks to the translations override.
www.hikashop.com/support/faq.html#tran
By default if you restrict the shipping method to a weight of min 1lb, then a message will be displayed in the checkout to say that the weight is enough.
You can customize this message to what you want thanks to the translations override.
www.hikashop.com/support/faq.html#tran
Please Log in or Create an account to join the conversation.
12 years 11 months ago - 12 years 11 months ago #129248
by mindstorm
Replied by mindstorm on topic Characteristics Pop Up Alert
This worked... we made our message longer now can we make the pop up window taller?
Also can we redirect them to another page? we want to send them to a category page instead of staying on the same page?
www.allenfamilyfudge.com/hikashop-menu-f...aramel-delight-fudge
Also can we redirect them to another page? we want to send them to a category page instead of staying on the same page?
www.allenfamilyfudge.com/hikashop-menu-f...aramel-delight-fudge
Last edit: 12 years 11 months ago by mindstorm.
Please Log in or Create an account to join the conversation.
12 years 11 months ago - 12 years 11 months ago #129402
by Xavier
Replied by Xavier on topic Characteristics Pop Up Alert
Hi,
The easiest way to change the popup size is to edit the file "administrator/components/com_hikashop/helpers/cart.php"
In the function "getJS()" just replace the value of "x" and "y" in the lines:
Be careful, when updating, the changes will be lost.
To redirect them, in the view "checkout / notice" via the menu Display > Views, you have to change the line:
To:
The easiest way to change the popup size is to edit the file "administrator/components/com_hikashop/helpers/cart.php"
In the function "getJS()" just replace the value of "x" and "y" in the lines:
Code:
'<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>'.
Be careful, when updating, the changes will be lost.
To redirect them, in the view "checkout / notice" via the menu Display > Views, you have to change the line:
Code:
setTimeout( 'window.parent.hikashop.closeBox()', <?php echo (int)$this->config->get('popup_display_time',2000);?> );
Code:
setTimeout( 'window.location = "http://www.mozilla.org"', <?php echo (int)$this->config->get('popup_display_time',2000);?> );
Last edit: 12 years 11 months ago by Xavier.
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds