Post by qahar » Mon Sep 07, 2015 1:40 am

Released v1.1.3 to fix this. You can see the demo to check.
Thank to notice the issue

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by estesasi » Sun Sep 27, 2015 10:18 am

Hello

First all thank you for module default2 theme

I using the extension EC Slidshow estension http://www.opencart.com/index.php?route ... n_id=13906 but with some problems, transition effects behave strangely and very fast if compare with opencart default theme.
can you help me solve?

I send ticket request with user/password in https://www.echothemes.com/tickets.html

Newbie

Posts

Joined
Sat Mar 23, 2013 5:28 am

Post by qahar » Mon Sep 28, 2015 3:26 pm

@estesasi

I check your site and not sure what cause the strange slider.
I think it's related to the slider Duration or Transition Period setting

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by maccadon » Thu Oct 01, 2015 5:36 pm

Thanks for the great template. I'm currently converting my 1.5.4.1. template to your new template. I got a question about the menu. When you check the categoriemenu on a mobile and you go to a categorie that has multiple subcategory then you have to press it twice. Is it possible to open the subcategories in 1 click?

It goes like this on a mobile

1. Click on categories menu to expand it.
2. Click on component to select it.
3. click again on components to open the subcategory
4. Click on the subcategory.

If you try the same on demo.opencart.com then when you click on components is automatically opens the subcategory so step 2 is a extra step on your menu.

Can this be changed?

kind regards,

Rene

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm

Post by qahar » Thu Oct 01, 2015 6:34 pm

Thank you, I'm not notice this before.

My decission to inject .open class on hover cause this. It should be done with css like OpenCart.

The cause of this is at default2.js

Code: Select all

  //=== Bootstrap hack
  // still touch device friendly
  $('.dropdown').hover(
    function() {
      $(this).addClass('open');
    }, function() {
      $(this).removeClass('open');
    }
  );
If you decide to remove code above, make sure to add this on your stylesheet

Code: Select all

@media (min-width: 768px)
#nav-main .dropdown:hover .dropdown-menu {
    display: block;
}
I will fix this on next update

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by maccadon » Thu Oct 08, 2015 12:47 pm

Hi Qahar,

I just updated to opencast 2.1.0.1 and the module shows this error
Notice: Undefined variable: icon in /home/doubledut/domains/djuricek.nl/public_html/oc21/catalog/view/theme/default2/template/common/header.tpl on line 21 Notice: Undefined variable: google_analytics in /home/doubledut/domains/djuricek.nl/public_html/oc21/catalog/view/theme/default2/template/common/header.tpl on line 54

How can i fix this?

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm

Post by qahar » Thu Oct 08, 2015 3:36 pm

OpenCart 2.1.0.1 just released this week and default2 is not compatible yet with this version.
I will update default2 soon, thank you for your notice.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by qahar » Sun Oct 11, 2015 1:03 am

default2 v1.2.0 released!

Updates:
- OpenCart 2.1.x compatibility
- Fix dropdown menu double select issue on small device

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by maccadon » Sun Oct 11, 2015 3:49 am

You are awesome! Thank you so much.

Could you tell me what files have been changed? So that i don't have to start over with my adjustments?

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm

Post by qahar » Sun Oct 11, 2015 2:44 pm

default2 v1.2.1 released!

Updates:
- Fix remove and update product quantity at view cart

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by qahar » Sun Oct 11, 2015 2:47 pm

@maccadon

default2 admin model is changed on how to install and save, this happen because OpenCart 2.1x change from serialize to json.
All template related change is only to make it compatible with OpenCart 2.1x like analytic at header.tpl, captcha at all information/contact and product template, also the change of product cart id at all cart template

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by qahar » Fri Oct 16, 2015 9:51 am

default2 v1.2.2 released!

Updates:
- Fix language switcher
- Fix top navigation grid on small device

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by maccadon » Wed Oct 28, 2015 8:45 am

Is it possible to switch a module position to another space in the product.tpl? I want content_bottom_a between the price adn product information tab.

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm

Post by qahar » Wed Oct 28, 2015 12:21 pm

It's possible, by modificating default2_theme.xml and related product template.
Backup related file before modificate incase something goes wrong.

1. Unreg content_btm_a from product page content_bottom
Find <file path="catalog/controller/common/content_bottom.php">

Code: Select all

// Replace:
$blockToLoad = array('content_btm_a', 'content_btm_b');

// With:
if (isset($this->request->get['product_id'])) {
    $data['position_content_btm_a'] = '';
    $blockToLoad = array('content_btm_b');
} else {
    $blockToLoad = array('content_btm_a', 'content_btm_b');
}
2. Reg content_btm_a directly to product page
Find <file path="catalog/controller/product/product.php">

Code: Select all

// Replace:
$blockToLoad = array('top_a', 'top_b', 'top_c', 'bottom_a', 'bottom_b', 'bottom_c');

// With:
$blockToLoad = array('top_a', 'top_b', 'top_c', 'bottom_a', 'bottom_b', 'bottom_c', 'content_btm_a');
3. Load content_btm_a at product template
Open the product template (product.tpl or product_d2_2.tpl) based on your default2 product template setting.
And add code below before the tab

Code: Select all

<?php echo $position_content_btm_a; ?>

<ul class="nav nav-tabs product-tab">
    ...
</ul>
Block position doesn't have styling (margin, padding, etc), you can wrap it with custome wrapper style.

Code: Select all

<div style="margin: -40px 0 30px;">
    <?php echo $position_content_btm_a; ?>
</div>
The end result:
default2_move_content_btm_a.png

default2_move_content_btm_a.png (37.12 KiB) Viewed 6678 times


User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by maccadon » Wed Oct 28, 2015 3:31 pm

Thanks, i'm gonna try it out today.

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm

Post by maccadon » Tue Nov 03, 2015 11:49 pm

@qahar every now and then it won't load the font-awesome icons on the home screen. I noticed this on my mobile and computer. Both didn't have internet problems. Have you seen/heard this before?

Image

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm

Post by qahar » Wed Nov 04, 2015 5:29 pm

@maccadon does this also happen for OpenCart demo or default2 demo at your phone/ computer? I need your site url to look what possible the cause

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by maccadon » Thu Nov 05, 2015 7:02 am

@Qahar The problem is also visible on the default theme. I searched and found this thread
https://www.fastcomet.com/community/how ... ing-icons/

The problem is only on pages without www (http://website.com). When i check the same page with www in front of it then it works. So a .htacces to always direct to www and the problem is solved

Another problem: The table in wishlist.tpl isn't responsive on small screens. I think you forgot to put the table in a div (<div class="table-responsive">). After that it works like it should.

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm

Post by qahar » Tue Nov 24, 2015 11:54 am

It's quite interesting issue. Even though thesolution is work, I'm still not understand why font-awesome not loaded without www ;D

I assume you are talking about wishlist table at account page. default2 not come with this template, so it will fallback and use whatever default theme have.

I would suggest you to copy the template you need to default2 and modificate it (avoid modificate template at default theme).

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by maccadon » Tue Nov 24, 2015 7:40 pm

No problem, i works with the redirect so that's ok. I noticed some errors when browsing the theme in Safari 9 on mac.

Checkout steps
The backgrounds folds up and down twice

Product-grid (categories)
The price goes through the productname (sometimes)

productpage-featured products
Star rating goes beneath the product box
But in all other browsers i don't have these problems.

see images
Image
Image

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm
Who is online

Users browsing this forum: No registered users and 2 guests