Post by pm-netti » Mon Nov 23, 2015 6:04 pm

This template is here:

http://www.opencart.com/index.php?route ... n_id=23641

This is demo page:

http://demo.pm-netti.com/oc2/index.php? ... ommon/home

Is it wishes with respect to this development? Is there a need for additional features?

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by IP_CAM » Tue Nov 24, 2015 12:54 pm

About as close to match V2 Viewing Experience, as one can get, and performance-wise, I got the same Values as a similarly installed OC 2 Shop version, by use of it's Default Theme.

This lovely Theme not only comes as a very cheap OC2-like Theme Extension, it also keeps V.1.5.6.x-driven Shops up to latest User Demand, by offering full Responsive Page View, and Handling, so enabling any kind of Smartphone, to use the Shop Site, as it would be possible with an OC V2 !

I have been testing it with one of my enhanced v.1.5.6.5_rc Shop version. It performes excellent, it's as fast as anyone of my enhanced Test-Shops, and by far the best-perfoming of all responsive free v.1.5.6.x Themes, I tested so far.

--

As Buyer Number One, for some reason, I had to remove a code line, in several Module Files, within the pagebreak sections, to get rid of an error. I also had to replace an existing Code Line with one out ot the Default Theme File, and I added some language Variables, not existing in the very first Edition. A Checkout-Registration Problem has been solved most efficiently by PM-Netti. I contacted PM-Netti on all those matters, and sent him a copy of my doings, to compare.

---

The only possible Draw-Back could be, that some existing OC v.1.5.6.x Modules do not longer display their Frames and shadows, due to the fact, that Modules are now CONTROLLED and STYLED in a responsive Way, in the new Theme, and therefore have to be 'rewitten', a little, to 'look' again, as they have displayed before. I added an Image sample, to show, whats still missing, at present, on my test Site, to make the Counter look nice again.

Therefore, one should not expect, that everything will look like ever before, on the Sidelines, at least! But since it is relatively simple, to put a CSS-frame around something again, it won't be a problem, I just mention it, to avoid, anyone getting frustrated, to find out! It's still much easier and cheaper, than buy and install a Bag full of new Extensions, just to make a Shop look, and work again , as the old one did before...

I love it! Thank you for the great Job! :D
Ernie
my Test SIte:
http://www.hitline.info/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by pm-netti » Tue Nov 24, 2015 4:18 pm

Thanks Ernie :)
IP_CAM wrote: I had to remove a code line, in several Module Files, within the pagebreak sections, to get rid of an error.
Can you remember, what files was need edit? Is need do it change to original files?
IP_CAM wrote:
The only possible Draw-Back could be, that some existing OC v.1.5.6.x Modules do not longer display their Frames and shadows, due to the fact, that Modules are now CONTROLLED and STYLED in a responsive Way, in the new Theme, and therefore have to be 'rewitten', a little, to 'look' again, as they have displayed before. I added an Image sample, to show, whats still missing, at present, on my test Site, to make the Counter look nice again.
I'm going to look at this CSS style diversity.

-peku

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by pm-netti » Tue Nov 24, 2015 7:19 pm

pm-netti wrote:Is there a need for additional features?
Yes. Search :)

This is now added

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by IP_CAM » Thu Nov 26, 2015 9:46 am

@ PM-Netti:
I just tested your latest Release, you have been doing some more work on it, as it seems ;)
Onby, you can see, what I had to do, to make it all work on my v.1.5.6.5 Version OC.

I have no idea, what this one is good for anyway, you may be able to explain the purpose.
<div class="col-sm-6 text-right"><?php echo $results; ?></div>

best regards
Ernie
test site:
http://www.hitline.info/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by pm-netti » Thu Nov 26, 2015 8:19 pm

IP_CAM wrote:@ PM-Netti:
I just tested your latest Release, you have been doing some more work on it, as it seems ;)
Onby, you can see, what I had to do, to make it all work on my v.1.5.6.5 Version OC.

I have no idea, what this one is good for anyway, you may be able to explain the purpose.
<div class="col-sm-6 text-right"><?php echo $results; ?></div>

best regards
Ernie
test site:
http://www.hitline.info/shop/
This pagination is small different in version 2.x
product/search.php line 431:

Code: Select all

$data['results'] = sprintf($this->language->get('text_pagination'), ($product_total) ? (($page - 1) * $limit) + 1 : 0, ((($page - 1) * $limit) > ($product_total - $limit)) ? $product_total : ((($page - 1) * $limit) + $limit), $product_total, ceil($product_total / $limit));
Also text_pagination of language file is different.

Ps. language files is updated ( text_discount added)

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by pm-netti » Fri Nov 27, 2015 7:50 pm

pm-netti wrote: This pagination is small different in version 2.x
product/search.php line 431:

Code: Select all

$data['results'] = sprintf($this->language->get('text_pagination'), ($product_total) ? (($page - 1) * $limit) + 1 : 0, ((($page - 1) * $limit) > ($product_total - $limit)) ? $product_total : ((($page - 1) * $limit) + $limit), $product_total, ceil($product_total / $limit));
Also text_pagination of language file is different.
I am just did modification to file system/pagination.php, also language file pagination text is updated.

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by IP_CAM » Sat Nov 28, 2015 1:30 am

Just downloaded the latest Version, I am going to make tests tonight on it.
But you should remove this:
, '<?php echo $product['minimum']; ?>'
because it only exists in the DEFAULT OC-2 Version Shops, but not
in V.1.5.6.4+5 Versions, I looked into, within the:
oc2_theme\template\product\...
Section, with the exeption of the PRODUCT.TPL $minimum; Variable, to avoid
a lot of nasty Admin error messages.

Ernie
Test Site:
http://www.hitline.info/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by pm-netti » Sat Nov 28, 2015 10:04 pm

IP_CAM wrote:Just downloaded the latest Version, I am going to make tests tonight on it.
But you should remove this:
, '<?php echo $product['minimum']; ?>'
because it only exists in the DEFAULT OC-2 Version Shops, but not
in V.1.5.6.4+5 Versions, I looked into, within the:
oc2_theme\template\product\...
Section, with the exeption of the PRODUCT.TPL $minimum; Variable, to avoid
a lot of nasty Admin error messages.

Ernie
Test Site:
http://www.hitline.info/shop/
Did edit to tpl files.
Also is just did update to admin module site for Module CSS

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by IP_CAM » Tue Dec 01, 2015 12:18 pm

Happy to say, I am getting near, unfortunately, I could not yet check everything, and still,
i had to fix some slight errors, like:

Code: Select all

 <?php if ($site_key) { ?>
            <div class="form-group">
              <div class="col-sm-offset-2 col-sm-10">
                <div class="g-recaptcha" data-sitekey="<?php echo $site_key; ?>"></div>
                <?php if ($error_captcha) { ?>
                  <div class="text-danger"><?php echo $error_captcha; ?></div>
                <?php } ?>
              </div>
            </div>
          <?php } ?>
wich does NOT belong to the default V.1.5.6.x Version Coding.
But it's working nice, ans SWELL, and I experienced very fine Performance Results,
as shown on the Test Shop Main Page. To the end of this week, I will have everything the
way I want it, to make it to be the very best v2-default looking v.1.5.6.5 OpenCart Shop.

to see in Action here:
http://www.hitline.info/shop/

A great responsive OC v.1.5.6 Theme, for so little money! :D
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by pm-netti » Sun Dec 13, 2015 9:37 pm

New issue looked.
1. Add something the shopping cart and then click on cart - message says cart is empty even though can see number of items in the cart.
Page update fix issue.
What can be this reason?

Attachments

cart.jpg

in card - cart.jpg (21.81 KiB) Viewed 5383 times

up.png

Site update fix card - up.png (26.99 KiB) Viewed 5383 times


User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by IP_CAM » Mon Dec 14, 2015 12:03 pm

I found this difference, on the Browser Page Source, it's this missing Value, possibly !?
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by pm-netti » Mon Dec 14, 2015 8:09 pm

IP_CAM wrote:I found this difference, on the Browser Page Source, it's this missing Value, possibly !?
Ernie
My test this feature in category page do link to product page.
This error is also in product page.
In product page form and common.js is same when in OC version 2.0.3.1
I just removed from file cart.tpl recurring script, but it is not help.

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by IP_CAM » Wed Dec 16, 2015 9:30 am

I had no luck, so far, neither in the Cat-Section, nor in the Product Section, to make the mini-cart to update automatically.
In addition to some error-message, wich I sent you by eMail. And for the moment, I am rather busy to prepare for other matters, so, I will reinstall and test the Theme later on again.
Unfortunately, I am a FULL NUT, when it comes to JSON and similar things, and on of those scripts does not function in order, in combination with the still slightly different Code setup, compared with an genuine OC2 Cat- / Product.tpl file.

Good Luck, hopefully, you'll find some time... ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by pprmkr » Wed Dec 16, 2015 2:21 pm

Take a close look at common.js !

Edit the cart-section in common.js and use 1.5.6 coding and routes:

Code: Select all

function addToCart(product_id, quantity) {
    quantity = typeof(quantity) != 'undefined' ? quantity : 1;

    $.ajax({
        url: 'index.php?route=checkout/cart/add',
        type: 'post',
        data: 'product_id=' + product_id + '&quantity=' + quantity,
        dataType: 'json',
        success: function(json) {
            $('.alert, .text-danger').remove();
            
            if (json['redirect']) {
                location = json['redirect'];
            }
            
            if (json['success']) {
                $('#content').parent().before('<div class="alert alert-success"><i class="fa fa-check-circle"></i> ' + json['success'] + '<button type="button" class="close" data-dismiss="alert">&times;</button></div>');
                
                $('#cart-total').html(json['total']);
                $('#cart').load('index.php?route=module/cart #cart > *');
                $('html, body').animate({ scrollTop: 0 }, 'slow'); 
            }
        }
    });
}
Even for 1.4.9 it works: demo

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by pm-netti » Wed Dec 16, 2015 7:00 pm

pprmkr wrote:Take a close look at common.js !

Edit the cart-section in common.js and use 1.5.6 coding and routes:

Even for 1.4.9 it works: demo
Thanks.
I am fouded error, it was incorrect Url.

product/product.tpl line 170:

Code: Select all

$('#cart > ul').load('index.php?route=common/cart/info ul li');
is changed:

Code: Select all

$('#cart > ul').load('index.php?route=module/cart ul li');
same url is changed in file common.js
Last edited by pm-netti on Thu Dec 17, 2015 5:17 am, edited 1 time in total.

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by IP_CAM » Thu Dec 17, 2015 3:30 am

Now, it works well!
I just have to redoo some minor Linking again, to get my former 97/92 % Performance Results back, then, I guess, I can concentrate more on all those Moduls, to get them to look nice, in responsive Form!

The only real ugly (OC2)LEFTOVER is that related-setup, already familiar with OC2, I will contact VIETHEMES about this, he possibly already has a working Mod, to avoid this:
http://www.hitline.info/shop/index.php? ... uct_id=861

Great Job! ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by zigzag253 » Fri Dec 18, 2015 1:34 am

I use Quick Checkout [MarketInSG] module. When going through the checkout process, I can select billing and delivery addresses but then no "Continue" button is at the bottom of the page to go on with the process. The default checkout seems to work fine.

Newbie

Posts

Joined
Tue Jan 22, 2013 7:52 am

Post by IP_CAM » Fri Dec 18, 2015 8:14 am

I never had any luck, with either one, of those Quick Checkout mod's, combined with other Mod's.
Just to mention it...
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by IP_CAM » Mon Dec 21, 2015 10:57 am

Just to mention it, I added a little Extension, also matching this Theme:

Simple Product Page Visitor Counter VqMOD:
http://www.opencart.com/index.php?route ... n_id=25056

Ernie
can be seen here:
http://www.hitline.info/shop/index.php? ... ct_id=4583

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 12 guests