Custom Cart icon per store

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeCustom Cart icon per store

This topic has been marked as not resolved.

Hi there,

I am using Shoppica2 on my new store which contains 3 multi-stores, if that makes sense. The 3 stores make up 3 different departments of the main store.

It is a family store, with a baby section, boys, girls etc all set up as departments (but separate stores). I would like to customise my cart icon per store. So for example, I want a pram as my cart icon in the baby store, and a kids trolley in the boys store etc.

Is there an easy way to do this? I am still learning how Shoppica works but I have quite a lot of experience with Opencart.

Thanks!

January 8, 2014 at 8:52 pm #29844

Alternatively, is it possible to do this for each top category?

January 8, 2014 at 9:54 pm #29849

Hi,

Here are two topics, where we’ve explained, how to change the cart icon:

http://support.themeburn.com/topic/cant-change-cart-icon-how-to-customize-it
http://support.themeburn.com/topic/change-cart-icon-shoppica-2

You can combine this tutorial with a category or/and store detection to generate different cart menu ID.

Category detection:

http://support.themeburn.com/topic/different-logo-per-category

Store detection:

http://support.themeburn.com/topic/customize-top-navigation-on-a-store-by-store-basis

You can find the cart menu code in catalog/view/theme/shoppica2/template/common/header.tpl:

<?php $cart_contents = $tbData->getCartContents(); ?>
<div id="cart_menu" class="s_nav">
  <a href="<?php echo $shopping_cart; ?>">
    <span class="s_icon"></span>
    <?php if ($tbData->common['show_cart_label'] == '1'): ?>
    <small class="s_text"><?php echo $tbData->text_cart;?></small>
    <?php endif; ?>
    <span class="s_grand_total s_main_color"><?php echo strip_tags($cart_contents['total_sum']); ?></span>
  </a>
  <div class="s_submenu s_cart_holder">
    <?php echo $cart_contents['html']; ?>
  </div>
</div>

Hope this is what you are looking for.

Best,
ThemeBurn team

January 13, 2014 at 4:16 pm #29920
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.