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

#   product details popup with"continue shopping" or..

##

- **[jchorch](/forum/user/9669-jchorch "View jchorch's Profile")**
- [![jchorch's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9669.jpg)](/forum/user/9669-jchorch "View jchorch's Profile") Topic Author
- [ Offline](/forum/user/9669-jchorch)

Less More

- Posts: 39
- Thank you received: 1
-
-

14 years 1 month ago -  14 years 4 weeks ago [\#68449](#68449) by [jchorch](/forum/user/9669-jchorch "View jchorch's Profile")  *[product details popup with"continue shopping" or..](/forum/2-general-talk-about-hikashop/68449-product-details-popup-with-continue-shopping-or#68449 "hi nico, almost finished! haha ^ ^  now need customize this for the users: When someone add a product in &quot;the product details popup&quot; hikashop does not alert the customer That the product was added With The popup, says do not &quot;continue shopping&quot; or &quot;go to checkout&quot;. how I can add it there this?")* was created by *[jchorch](/forum/user/9669-jchorch "View jchorch's Profile")*

hi nico, almost finished! haha ^ ^

now need customize this for the users:
When someone add a product in "the product details popup" hikashop does not alert the customer That the product was added With The popup, says do not "continue shopping" or "go to checkout". how I can add it there this?

image missing http://imageshack.us/a/img402/3852/hikashop015.png

Last edit: 14 years 4 weeks ago by [jchorch](/forum/user/9669-jchorch "View jchorch's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY4NDQ5LXByb2R1Y3QtZGV0YWlscy1wb3B1cC13aXRoLWNvbnRpbnVlLXNob3BwaW5nLW9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 4 weeks ago [\#68712](#68712) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: product details popup with"continue shopping" or..](/forum/2-general-talk-about-hikashop/68449-product-details-popup-with-continue-shopping-or#68712 "hi nico, almost finished! haha ^ ^  now need customize this for the users: When someone add a product in &quot;the product details popup&quot; hikashop does not alert the customer That the product was added With The popup, says do not &quot;continue shopping&quot; or &quot;go to checkout&quot;. how I can add it there this?")*

Did you set the option "After a product has been added to the cart" to "stay and display a popup notice" in the checkout tab of the configuration ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY4NDQ5LXByb2R1Y3QtZGV0YWlscy1wb3B1cC13aXRoLWNvbnRpbnVlLXNob3BwaW5nLW9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[jchorch](/forum/user/9669-jchorch "View jchorch's Profile")**
- [![jchorch's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9669.jpg)](/forum/user/9669-jchorch "View jchorch's Profile") Topic Author
- [ Offline](/forum/user/9669-jchorch)

Less More

- Posts: 39
- Thank you received: 1
-
-

14 years 4 weeks ago -  14 years 4 weeks ago [\#68714](#68714) by [jchorch](/forum/user/9669-jchorch "View jchorch's Profile")  Replied by *[jchorch](/forum/user/9669-jchorch "View jchorch's Profile")* on topic *[Re: product details popup with"continue shopping" or..](/forum/2-general-talk-about-hikashop/68449-product-details-popup-with-continue-shopping-or#68714 "hi nico, almost finished! haha ^ ^  now need customize this for the users: When someone add a product in &quot;the product details popup&quot; hikashop does not alert the customer That the product was added With The popup, says do not &quot;continue shopping&quot; or &quot;go to checkout&quot;. how I can add it there this?")*

yes, works around the site less in "products popup".

i add this(in product / show_default.php):

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.6.0
* @author hikashop.com
* @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;
**&lt;!-- ADD TO CART BUTTON AREA --&gt;
&lt;?php
if($this-&gt;params-&gt;get('add\_to\_cart') \|\| $this-&gt;params-&gt;get('add\_to\_wishlist')){
$this-&gt;setLayout('add\_to\_cart\_listing');
}?&gt;
&lt;!-- EO ADD TO CART BUTTON AREA --&gt;**
&lt;div id="hikashop_product_top_part" class="hikashop_product_top_part"&gt;
&lt;h1&gt;
&lt;span id="hikashop_product_name_main" class="hikashop_product_name_main"&gt;
&lt;?php
if (hikashop_getCID('product_id')!=$this-&gt;element-&gt;product_id &amp;&amp; isset ($this-&gt;element-&gt;main-&gt;product_name))
echo $this-&gt;element-&gt;main-&gt;product_name;
else
echo $this-&gt;element-&gt;product_name;
?&gt;
&lt;/span&gt;
&lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt;
&lt;span id="hikashop_product_code_main" class="hikashop_product_code_main"&gt;
&lt;?php
echo $this-&gt;element-&gt;product_code;
?&gt;
&lt;/span&gt;
&lt;?php } ?&gt;
&lt;/h1&gt;
&lt;?php
$pluginsClass = hikashop_get('class.plugins');
$plugin = $pluginsClass-&gt;getByName('content', 'hikashopsocial');
if (@ $plugin-&gt;published &#124;&#124; @ $plugin-&gt;enabled) {
echo '{hikashop_social}';
}
?&gt;
&lt;/div&gt;
&lt;div id="hikashop_product_left_part" class="hikashop_product_left_part"&gt;
&lt;?php
$this-&gt;row = &amp; $this-&gt;element;
$this-&gt;setLayout('show_block_img');
echo $this-&gt;loadTemplate();
?&gt;
&lt;/div&gt;
&lt;div id="hikashop_product_right_part" class="hikashop_product_right_part"&gt;
&lt;div id="hikashop_product_vote_mini" class="hikashop_product_vote_mini"&gt;
&lt;?php
$config =&amp; hikashop_config();
if($this-&gt;params-&gt;get('show_vote_product') == '-1'){
$this-&gt;params-&gt;set('show_vote_product',$config-&gt;get('show_vote_product'));
}
if($this-&gt;params-&gt;get('show_vote_product')){
$js = '';
$params = null;
$this-&gt;params-&gt;set('vote_type','product');
if(isset($this-&gt;element-&gt;main)){
$product_id = $this-&gt;element-&gt;main-&gt;product_id;
}else{
$product_id = $this-&gt;element-&gt;product_id;
}
$this-&gt;params-&gt;set('product_id',$product_id);
echo hikashop_getLayout('vote', 'mini', $this-&gt;params, $js);
}
?&gt;
&lt;/div&gt;
&lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt;
&lt;?php
if ($this-&gt;params-&gt;get('show_price')) {
$this-&gt;row = &amp; $this-&gt;element;
$this-&gt;setLayout('listing_price');
echo $this-&gt;loadTemplate();
}
?&gt;
&lt;/span&gt;
&lt;?php
$this-&gt;setLayout('show_block_dimensions');
echo $this-&gt;loadTemplate();
?&gt;&lt;br /&gt;
&lt;?php
$this-&gt;setLayout('show_block_characteristic');
echo $this-&gt;loadTemplate();
?&gt;
&lt;br /&gt;
&lt;?php
$form = ',0';
if (!$this-&gt;config-&gt;get('ajax_add_to_cart', 1)) {
$form = ',\'hikashop_product_form\'';
}
if (hikashop_level(1) &amp;&amp; !empty ($this-&gt;element-&gt;options)) {
?&gt;
&lt;div id="hikashop_product_options" class="hikashop_product_options"&gt;
&lt;?php
$this-&gt;setLayout('option');
echo $this-&gt;loadTemplate();
?&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;?php
$form = ',\'hikashop_product_form\'';
if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') {
?&gt;
&lt;input type="hidden" name="popup" value="1"/&gt;
&lt;?php
}
}
if (!$this-&gt;params-&gt;get('catalogue') &amp;&amp; ($this-&gt;config-&gt;get('display_add_to_cart_for_free_products') &#124;&#124; !empty ($this-&gt;element-&gt;prices))) {
if (!empty ($this-&gt;itemFields)) {
$form = ',\'hikashop_product_form\'';
if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') {
?&gt;
&lt;input type="hidden" name="popup" value="1"/&gt;
&lt;?php
}
$this-&gt;setLayout('show_block_custom_item');
echo $this-&gt;loadTemplate();
}
}
$this-&gt;formName = $form;
if($this-&gt;params-&gt;get('show_price')){ ?&gt;
&lt;span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main"&gt;
&lt;/span&gt;
&lt;?php } ?&gt;
&lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt;
&lt;?php
$this-&gt;row = &amp; $this-&gt;element;
$this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }';
$this-&gt;setLayout('quantity');
echo $this-&gt;loadTemplate();
?&gt;
&lt;/div&gt;
&lt;div id="hikashop_product_contact_main" class="hikashop_product_contact_main"&gt;
&lt;?php
$contact = $this-&gt;config-&gt;get('product_contact',0);
if (hikashop_level(1) &amp;&amp; ($contact == 2 &#124;&#124; ($contact == 1 &amp;&amp; !empty ($this-&gt;element-&gt;product_contact)))) {
$empty = '';
$params = new JParameter($empty);
echo $this-&gt;cart-&gt;displayButton(JText :: _('CONTACT_US_FOR_INFO'), 'contact_us', $params, hikashop_completeLink('product&amp;task=contact&amp;cid=' . $this-&gt;row-&gt;product_id), 'window.location=\'' . hikashop_completeLink('product&amp;task=contact&amp;cid=' . $this-&gt;row-&gt;product_id) . '\';return false;');
}
?&gt;
&lt;/div&gt;
&lt;?php
if(!empty($this-&gt;fields)){
$this-&gt;setLayout('show_block_custom_main');
echo $this-&gt;loadTemplate();
}
?&gt;
&lt;span id="hikashop_product_id_main" class="hikashop_product_id_main"&gt;
&lt;input type="hidden" name="product_id" value="&lt;?php echo $this-&gt;element-&gt;product_id; ?&gt;" /&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part"&gt;
&lt;div id="hikashop_product_description_main" class="hikashop_product_description_main"&gt;
&lt;?php
echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description));
?&gt;
&lt;/div&gt;
&lt;span id="hikashop_product_url_main" class="hikashop_product_url_main"&gt;
&lt;?php
if (!empty ($this-&gt;element-&gt;product_url)) {
echo JText :: sprintf('MANUFACTURER_URL', '&lt;a href="' . $this-&gt;element-&gt;product_url . '" target="_blank"&gt;' . $this-&gt;element-&gt;product_url . '&lt;/a&gt;');
}
?&gt;
&lt;/span&gt;
&lt;?php
$this-&gt;setLayout('show_block_product_files');
echo $this-&gt;loadTemplate();
?&gt;
&lt;div id="hikashop_product_vote_listing" class="hikashop_product_vote_listing"&gt;
&lt;?php
if($this-&gt;params-&gt;get('show_vote_product')){
$js = '';
if(isset($this-&gt;element-&gt;main)){
$product_id = $this-&gt;element-&gt;main-&gt;product_id;
}else{
$product_id = $this-&gt;element-&gt;product_id;
}
$this-&gt;params-&gt;set('product_id',$product_id);
echo hikashop_getLayout('vote', 'listing', $this-&gt;params, $js);
?&gt;
&lt;/div&gt;
&lt;div id="hikashop_product_vote_form" class="hikashop_product_vote_form"&gt;
&lt;?php
$js = '';
if(isset($this-&gt;element-&gt;main)){
$product_id = $this-&gt;element-&gt;main-&gt;product_id;
}else{
$product_id = $this-&gt;element-&gt;product_id;
}
$this-&gt;params-&gt;set('product_id',$product_id);
echo hikashop_getLayout('vote', 'form', $this-&gt;params, $js);
}
?&gt;
&lt;/div&gt;
&lt;/div&gt;

with that I did more or less work. :S

Last edit: 14 years 4 weeks ago by [jchorch](/forum/user/9669-jchorch "View jchorch's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY4NDQ5LXByb2R1Y3QtZGV0YWlscy1wb3B1cC13aXRoLWNvbnRpbnVlLXNob3BwaW5nLW9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 1.160 seconds

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