X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3 (https://forum.x-cart.com/showthread.php?t=71550)

wroesner 04-14-2015 05:08 PM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
Quote:

Originally Posted by cflsystems
http://forum.x-cart.com/showthread.php?t=63437 - speed issue mentioned in post #17

Over the years XC added more modules and js and css too so the size increased. Not to mention XC css/js files load code which may or may not be needed on all pages but still loads. It requires good and time consuming clean up to make the css/js load efficient.

Yes, that what I see looking up the css and js files - a lot of code not applying to the page loaded.
So, they blow up the code volume and then present a solution overcoming the slowdown: v3 of Smarty engine. But the result is still worse than in old versions of x-cart and since 2006 or so the number of mobile phone users increased dramatically. What we need, I guess, soon is a really slim mobile friendly version. Because I bet Google will not only look up the moile friendly layout but also, soon, the mobile loading speed. At least if I were Google, I did so.
Thinking a bit ahead would be great.

I guess I will build my own shopping cart.... ;)

aim 04-14-2015 09:18 PM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
Quote:

Originally Posted by wroesner
I have now disabled some modules which are not vitally important.
The new installation at http://www.vitamine-und-mehr.org/lefdev/ runs now with:
Add To Cart Popup
Advanced Order Management
Articlelist
Bestsellers
EU Cookie Law
Flyout Menus (but I have disabled chaching, productcount and I selected tree like expanding)
HTML Editor
Maintenance Agent
Product Options
RMA
discount coupons
Recently viewed
Recommended Products
Sitemap
Socialize (but Facebook like disabled)
Special Offers
Upselling Products
Users Online
Wholesale Trading
Wish List
XML Sitemap

Nevertheless the index needs 503 ms to load (I believe that's too much) and is 793.7 kB heavy, too much.
Reason:
1.719f5978a55638bfa498c6a9422e3971.css 233,9 kB
1.48d75667dbff605389de7e37265279fa.js 341,3 kB.
If we could half this it would be a nice page.

My old shop's index at http://www.vitamine-und-mehr.org/xcart/catalog loads in 281 ms and is 182.6 kB!!!!

So where is the advance - my provacative question!!??

And, BTW, I have made this dinosaur shop mobile friendly with a few twists.

Wolfgang




The comparison is not correct.
The shop http://www.vitamine-und-mehr.org/xcart/catalog is the static page(No MySQL/PHP) generated by the HTML catalog feature
https://help.x-cart.com/index.php?title=X-Cart:HTML_Catalog

You have to compare these two dynamic shops
http://www.vitamine-und-mehr.org/xcart/home.php
and
http://www.vitamine-und-mehr.org/lefdev/


The static files like 1.719f5978a55638bfa498c6a9422e3971.css 1.48d75667dbff605389de7e37265279fa.js are cached by a browser and will not be loaded second time.

Your old shop (time to load 1.03 sec (1030 ms)) (46.3 KB transferred)
http://i.imgur.com/Szl8hBQ.png

Your new shop (time to load 877 ms) (22.7 KB transferred)
http://i.imgur.com/1ayMiAY.png

Your old shop makes 34 requests per page
Your new shop makes 16 requests per page

Thank you for your tests

wroesner 04-15-2015 04:56 AM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
Quote:

Originally Posted by aim
The comparison is not correct.
The shop http://www.vitamine-und-mehr.org/xcart/catalog is the static page(No MySQL/PHP) generated by the HTML catalog feature
https://help.x-cart.com/index.php?title=X-Cart:HTML_Catalog

You have to compare these two dynamic shops
http://www.vitamine-und-mehr.org/xcart/home.php
and
http://www.vitamine-und-mehr.org/lefdev/


The static files like 1.719f5978a55638bfa498c6a9422e3971.css 1.48d75667dbff605389de7e37265279fa.js are cached by a browser and will not be loaded second time.

Your old shop (time to load 1.03 sec (1030 ms)) (46.3 KB transferred)
http://i.imgur.com/Szl8hBQ.png

Your new shop (time to load 877 ms) (22.7 KB transferred)
http://i.imgur.com/1ayMiAY.png

Your old shop makes 34 requests per page
Your new shop makes 16 requests per page

Thank you for your tests


Hi aim thanks for taking time to respond,
however I disagree.
You might be right from the programmer's point of view. What only counts in reality is the visitors point of view and they currently arrive mostly at the static pages as created by the catalog creation process of 4.1.6 (or so) due to the inbound linking structure of this webshop.

But even taking a programmer's view, I dont agree.
Taking http://tools.pingdom.com/fpt/#!/dzea1Q/http://www.vitamine-und-mehr.org/xcart/home.php (old shop dynamic) and selecting the server in Amsterdam which is closest to the visitors of my shop the test returns a loading time of just 415 ms of this dynamic index version of the old shop - a page size of 182,6 KB!!! Very slim.
Whereas the 4.7.1 light responsive new version with the new "super fast" Smarty v3 loads in 433 ms a page size of whopping 794 KB.
Disabling all kinds of "bells and whistles" of your new version I finally reached at least the slow load time of the old dynamic version. But the old static version is still much quicker: 263 ms!!!

So, I reapeat my question: Where is the progress??

It doesn't give me consolation that the heavy and mostly superfluous css and javascript files get loaded only once at the first call of the shop. Rather to the contrary: if you could manage to make the entry page intentionally slim and load the bullshit only afterwards I'd have better chances to keep the visitor on my page.
Because, that is what counts in reality! People are impatient. Until you have spoken the sentence "This will not load a second time" they already hopped to another website.

And, the number of requests doesn't matter at all.

But thanks for testing anyway and cheers.

Wolfgang

aim 04-15-2015 09:43 PM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
2 Attachment(s)
Quote:

Originally Posted by wroesner
Hi aim thanks for taking time to respond,
however I disagree.
You might be right from the programmer's point of view. What only counts in reality is the visitors point of view and they currently arrive mostly at the static pages as created by the catalog creation process of 4.1.6 (or so) due to the inbound linking structure of this webshop.

But even taking a programmer's view, I dont agree.
Taking http://tools.pingdom.com/fpt/#!/dzea1Q/http://www.vitamine-und-mehr.org/xcart/home.php (old shop dynamic) and selecting the server in Amsterdam which is closest to the visitors of my shop the test returns a loading time of just 415 ms of this dynamic index version of the old shop - a page size of 182,6 KB!!! Very slim.
Whereas the 4.7.1 light responsive new version with the new "super fast" Smarty v3 loads in 433 ms a page size of whopping 794 KB.
Disabling all kinds of "bells and whistles" of your new version I finally reached at least the slow load time of the old dynamic version. But the old static version is still much quicker: 263 ms!!!

So, I reapeat my question: Where is the progress??

It doesn't give me consolation that the heavy and mostly superfluous css and javascript files get loaded only once at the first call of the shop. Rather to the contrary: if you could manage to make the entry page intentionally slim and load the bullshit only afterwards I'd have better chances to keep the visitor on my page.
Because, that is what counts in reality! People are impatient. Until you have spoken the sentence "This will not load a second time" they already hopped to another website.

And, the number of requests doesn't matter at all.

But thanks for testing anyway and cheers.

Wolfgang



Smarty3 does not affect your CSS/JS files. It affects "Time to First Byte"(TTFB)
http://www.websiteoptimization.com/speed/tweak/time-to-first-byte/


You can use the same HTML catalog feature to generate static pages for your new shop.
This solution will change the loading time from 433 ms to 250-300 ms for your new shop.
This solution will not decrease your CSS/JS files


By the way this tool allows to simulate internet connection of your visitors

old shop. Grade C for the TTFB
http://www.webpagetest.org/result/150415_HD_WPZ/
new shop. Grade A for the TTFB
http://www.webpagetest.org/result/150415_0Z_WPX/



Unfortunately we have to pay for every feature from X-Cart 4.7.1

For example
jquery/jqueryUI libraries add 303 KB
http://forum.x-cart.com/attachment.php?attachmentid=4100&stc=1&d=142916530 5
The solution is old X-Cart version or CDN
https://en.wikipedia.org/wiki/Content_delivery_network


Ajax adds 40KB
The solution is old X-Cart version


arrows in sort bars/awesome-font adds 86KB
http://forum.x-cart.com/attachment.php?attachmentid=4099&stc=1&d=142916329 3
The solution is ideal_responsive skin


skin/light_responsive/css/altskin.css adds 66KB
The solution is 2-columns/3-columns skins


One_Page_Checkout adds 20KB
The solution is Fast_Lane_Checkout



Socialize module adds 100KB
Turn off the module


Flyout_Menus module adds 7 KB
Turn off the module


EU_Cookie_Law adds 5 KB
Turn off the module

Add To Cart Popup adds 19 KB
http://forum.x-cart.com/attachment.php?attachmentid=4100&stc=1&d=142916530 5
Turn off the module


PS
We can make an improvement related to the awesome font
posted
https://bt.x-cart.com/view.php?id=44588

xtech 04-15-2015 10:47 PM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
Quote:

Originally Posted by xtech
Any Improvement in Platinum Model.Major shopping cart software is offering Vendor Commissions and automatic Payout system.But still x-cart has no improvement still now.It was also not specified when this features will implement.I would request quaiteam once again to think at least we can set different different commission rate for different provider.Current features are not offering this at least.

Also commission can set product wise,Category wise and Manufacturer wise.

How to achieve that?

Thanks.


Hi Ildar Amankulov,
Any Plan or improvement in system?

Thanks,
xtech

wroesner 04-16-2015 04:00 AM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
Hi Ildar,
I understand and I apologize for my too provocative critic.
Of course you add what your customers ask for and then it means that the size of the pages increases necessarily.
The most bulky is socialize - I have reduced it to only show the facebook button in the footer.
One Page Checkout f.e. I believe a real advance. IMO it makes the ordering process much more transparent and thus should reduce cart abundance rates.
I will look into improving awesome font....

Thanks
Wolfgang

aim 04-17-2015 12:42 AM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
1 Attachment(s)
Quote:

Originally Posted by wroesner
Hi Ildar,
I understand and I apologize for my too provocative critic.
Of course you add what your customers ask for and then it means that the size of the pages increases necessarily.
The most bulky is socialize - I have reduced it to only show the facebook button in the footer.
One Page Checkout f.e. I believe a real advance. IMO it makes the ordering process much more transparent and thus should reduce cart abundance rates.
I will look into improving awesome font....

Thanks
Wolfgang



Your any feedback is welcome.
Thank you for making our software better.

It seems we cannot disable the awesome font
https://bt.x-cart.com/view.php?id=44588#191302


The font is used for every add-to-cart add-to-wishlist buttons
http://forum.x-cart.com/attachment.php?attachmentid=4103&stc=1&d=142926334 0

http://fontawesome.io/icon/heart/
http://fontawesome.io/icon/shopping-cart/


The full list is
skin/light_responsive/modules/Socialize/footer_links.tpl
skin/light_responsive/modules/Add_to_cart_popup/product_added.tpl
skin/light_responsive/css/altskin.css
skin/light_responsive/customer/buttons/buy_more.tpl
skin/light_responsive/customer/buttons/buy_now.tpl
skin/light_responsive/customer/buttons/add_to_wishlist.tpl
skin/light_responsive/customer/mobile_header.tpl
skin/common_files/customer/search_sort_by.tpl

You can switch to the ideal_responsive skin.

aim 04-17-2015 12:45 AM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
Quote:

Originally Posted by xtech
Hi Ildar Amankulov,
Any Plan or improvement in system?

Thanks,
xtech


The current state is the same
http://forum.x-cart.com/showpost.php?p=384200&postcount=22

cflsystems 06-16-2015 11:50 AM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
Am I missing something here or is this a bug in XC or Smarty 3

Smarty 3 eval fails if the text to evaluate has double quotes in it.

It took me some good time to find out why SmackDigital Dynamic Tabs module results in blank page, and XC static pages as well.

They all trying to eval text which looks like this for example

------------------------------------------
This is just a simple text using "quotes".
------------------------------------------

This will result in PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template....

Replacing " with ' works but this should not happening in the first place. Using str_replace on the variable is my workaround for now but again this is ugly way of fixing the problem as it may show elsewhere as well.

QT - anything on this?

aim 06-17-2015 04:03 AM

Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3
 
Quote:

Originally Posted by cflsystems
Am I missing something here or is this a bug in XC or Smarty 3

Smarty 3 eval fails if the text to evaluate has double quotes in it.


A patch will be ready in 24 hours


All times are GMT -8. The time now is 05:00 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.