Problem with Cart Popup + breadcrumb

GK User
Thu Nov 06, 2014 8:53 am
Hi ,
I have 2 problems with storefront
1) if i add two products for example, to cart and click on the cart upper right corner , i see the products images , description but i can't see the delete icon (if i regret and want to delete one of the products) . From Hikashop support they told me that has to do with the template ( i send you images)
2) How can i set the width of breadcrumb bigger , so the text can appear ? (i send you image)

Thank you

Andreas
User avatar
Fresh Boarder

GK User
Thu Nov 06, 2014 11:58 am
Can you please post a link to your website so we can check.

See you around...
User avatar
Platinum Boarder

GK User
Thu Nov 06, 2014 12:11 pm
User avatar
Fresh Boarder

GK User
Fri Nov 07, 2014 9:44 am
For Cart Delete button please make below modification.
File: \templates\gk_storefront\html\com_hikashop\product\cart.php
Line: 182 and 183 which is below
Code: Select all
            <?php if (@$defaultParams['link_to_product_page']) : ?></a><?php endif; ?>
            </h3>

Replace with below
Code: Select all
            <?php if (@$defaultParams['link_to_product_page']) : ?></a><?php endif; ?>
            </h3>
            <?php if($this->params->get('show_cart_delete',1)){ ?>
                  <span class="hikashop_cart_module_product_delete_value hikashop_cart_value">
                     <a href="<?php echo hikashop_completeLink('product&task=updatecart&cart_type='.$this->params->get('cart_type','cart').'&cart_product_id='.$row->cart_product_id.'&quantity=0&return_url='); ?>" onclick="var qty_field = document.getElementById('hikashop_cart_quantity_<?php echo $row->cart_product_id;?>'); if(qty_field){qty_field.value=0;<?php echo $input; ?> document.hikashop_cart_form.submit(); return false;}else{ return true;}"  title="<?php echo JText::_('HIKA_DELETE'); ?>"><img src="<?php echo HIKASHOP_IMAGES . 'delete2.png';?>" border="0" alt="<?php echo JText::_('HIKA_DELETE'); ?>" /></a>
                  </span>
            <?php } ?>   

Add following css code in override.css located in \templates\gk_storefront\css\override.css and enable css override option in template advanced settings.
Code: Select all
#gkPopupCart .gkPopupWrap { width: 380px; }
#gkAjaxCart .hikashop_cart_module_product_name_value { width: 70%; }
.hikashop_cart_product_custom_item_fields {float: right;line-height: 33px;width: 40px;}


I don't see any problems with your breadcrumbs, if you haven't fixed it post a direct link to the page where breadcrumb width is not enough.

See you around...
User avatar
Platinum Boarder

GK User
Sat Nov 08, 2014 5:48 am
Hi ,

Thank you for solving me the first problem !
As for the second problem (error Messages in breadcrumb) i sent you a attachment to understand exactly what i mean.
(i don't have a url , because the message disappears after a few seconds - is there a way to set the seconds of the appearance of message?)
That's why i want to increase the width of the breadcrumb , so the customer can see the text

Thank you !

Andreas
User avatar
Fresh Boarder

GK User
Sat Nov 08, 2014 6:43 am
That is the system messages not breadcrumb, please use following css code in your override.css

Code: Select all
#system-message { margin: 30px 0 0; }


See you around...
User avatar
Platinum Boarder

GK User
Sat Nov 08, 2014 1:18 pm
Thank you Norman for the quick reply
Unfortunatelly nothing happened when i put the code into the override (i have of course CSS override to YES).
I changed width to 50px and 80px but the width stayed same .

Andreas
User avatar
Fresh Boarder

GK User
Sat Nov 08, 2014 1:39 pm
It is not the width as it is 100% at the moment, its just it is stuck under menu div so we need to push the message box down by applying margin to it.

Try disabling cache system and clear your browsers cache...
or try below plugin which will display system messages in a modal popup.
http://extensions.joomla.org/extensions ... ames/25240
User avatar
Platinum Boarder

GK User
Sun Nov 09, 2014 6:36 pm
Thank you very much sir.

Congratulation for your support!

Andreas
User avatar
Fresh Boarder


cron