X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart reBOOT (reDUX) Template (https://forum.x-cart.com/showthread.php?t=77655)

PhilJ 04-16-2021 04:20 AM

Re: X-Cart reBOOT (reDUX) Template
 
16th April 2020 - Few bits added - Changelog

FIX /skin/reboot/customer/reboot_css_inline.tpl updated to fix HTML validation issue when using font stacks.
UPDATE Order status dropdown select added to /skin/reboot/customer/main/orders_list.tpl
NEW Advanced accordion + image switcher promo widget added - Demo
NEW Link underline animations CSS added - Demo (at very bottom)
NEW Details on how to parse JSON files in Smarty - View

peggyr 04-16-2021 10:56 AM

Re: X-Cart reBOOT (reDUX) Template
 
Hi Phil,

Where is the 'FIX' for the following. I don't see any hiperlink or expansion on the line in the changelog. Maybe I'm missing something


Apr 16th 2020

FIX /skin/reboot/customer/reboot_css_inline.tpl updated to fix HTML validation issue when using font stacks.

Thanks

PhilJ 04-16-2021 11:05 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Peggy, here you go, changelog updated.

PhilJ 04-22-2021 09:34 AM

Re: X-Cart reBOOT (reDUX) Template
 
22nd April 2020 - Some SEO improvements - Changelog

UPDATE Meta index,follow directive added (excluding printable pages)
IMPROVEMENT Custom page titles, meta descriptions and canonical URLs for the custom PHP pages... (faq.php, glossary.php, testimonials.php, coupons.php, videos.php, trending.php, lookbook.php)
UPDATE Developer tools updated a little
UPDATE jQuery updated to v3.6.0 and jQuery Migrate console warning removed (no real need for it)
NEW Images with simple ribbons widget added
UPDATE /skin/reboot/css/palette.css updated to add some custom button classes

peggyr 04-22-2021 10:42 AM

Re: X-Cart reBOOT (reDUX) Template
 
Hi Phil,

Is there supposed to be some 'mod' download for the April 22, 2021 updates? I could download the 'patch' jquery-360.zip, but didn't see anything else to update/download in your Apr 22 2021 changelog post

Did I miss something?

Thanks

PhilJ 04-22-2021 10:55 AM

Re: X-Cart reBOOT (reDUX) Template
 
Sorry, was adding the patch files... refresh.

Dougrun 04-28-2021 10:41 AM

Re: X-Cart reBOOT (reDUX) Template
 
support page missing?

elmirage001 04-28-2021 10:53 AM

Re: X-Cart reBOOT (reDUX) Template
 
Quote:

Originally Posted by Dougrun
support page missing?


Hi Dougrun,

https://xcartmods.com/ shows --> Server upgrade, be right back!

Paul

PhilJ 04-28-2021 11:24 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Doug, try Admin > Tools > Maintenance > Force cache generation

Dougrun 04-28-2021 01:02 PM

Re: X-Cart reBOOT (reDUX) Template
 
Quote:

Originally Posted by PhilJ
@Doug, try Admin > Tools > Maintenance > Force cache generation





tried that and tried clearing normal cache and temp files, still shows old sale price.

https://www.vsathletics.com/store


type in "replace" for the steel replacement spikes, shows 8.50 in the search, item is 9.50

Dougrun 04-28-2021 02:16 PM

Re: X-Cart reBOOT (reDUX) Template
 
what template files has the price?, i can just remove it.

elmirage001 04-30-2021 01:52 PM

Re: X-Cart reBOOT (reDUX) Template
 
Quote:

Originally Posted by Dougrun
what template files has the price?, i can just remove it.

I just tested on our store.

- Product = 91.75 and Search showed 91.75
- Changed product price to 91.33
- Went to homepage and typed in 4 letters in search and product showed 91.33

I did not have to clear any caches. I'm on reBOOT (reDUX) v4+

Dougrun 04-30-2021 01:53 PM

Re: X-Cart reBOOT (reDUX) Template
 
Does that product you tested have variants?

elmirage001 04-30-2021 01:58 PM

Re: X-Cart reBOOT (reDUX) Template
 
Quote:

Originally Posted by Dougrun
Does that product you tested have variants?

Hi Dougrun,
No variants, just a simple product. A good clue!
Paul

elmirage001 04-30-2021 02:45 PM

Re: X-Cart reBOOT (reDUX) Template
 
Quote:

Originally Posted by Dougrun
what template files has the price?, i can just remove it.

Hi Dougrun

Try this.

In:

\skin\reboot\css\reboot.css

At end add:

Code:

/* Custom CSS
-----------------------------*/
 .ac_results li p.price {display: none;}


ITVV 05-06-2021 04:30 AM

Re: X-Cart reBOOT (reDUX) Template
 
@PhilJ

Hi Phil,

Not sure if you know or not but https://xcartmods.com/ is not working properly? It just shows a Blank Screen ;-)

If I go directly to https://xcartmods.com/reboot/ all is fine.

https://xcartmods.co.uk/ is also working fine.

Just a 'heads up' really 8)

With kind regards as always

ITVV

PhilJ 05-06-2021 04:43 AM

Re: X-Cart reBOOT (reDUX) Template
 
Recent server upgrade, if you can't get in for any reason, just drop me a PM.

ITVV 05-06-2021 04:48 AM

Re: X-Cart reBOOT (reDUX) Template
 
@PhilJ

Just thought you should know that's all. No issues on my part (at the moment :lol: :lol: :lol: ) all working fine :D/

Your xcartmods.com site is now working and forwarding to https://xcartmods.co.uk/ :D :D :D

ITVV

peggyr 05-08-2021 08:27 AM

Re: X-Cart reBOOT (reDUX) Template
 
Hi Phil,

Is there a way to have the reDUX sitemap_images.xml file generate only P and T and not D (details).

I have been manually updating the file, as for now, I don't want the D images included

Thanks

Peggy

PhilJ 05-08-2021 09:11 AM

Re: X-Cart reBOOT (reDUX) Template
 
PM'd you.

nauticalstyle 05-10-2021 06:59 PM

Re: X-Cart reBOOT (reDUX) Template
 
I am configuring home page Slider settings on my local development site (Windows 10, XAMPP v3.3.0, PHP 7.4.18, X-Cart 4.7.12)

Slide links are initially text (e.g. #Slide_1).
If I set the slide link to a local html page URL, e.g. https://localhost/reDUXdevsite/slide_1-link.html, do I have to manually change the URL to e.g. https://mylivesite.com/slide_1-link.html when I upload the site to the live server?

The underlying code is in /skin/reboot/custom/slider.tpl and the slide link variable is $config.Reboot.reboot_slide_#_link, (e.g. $config.Reboot.reboot_slide_1_link).

PhilJ 05-10-2021 09:20 PM

Re: X-Cart reBOOT (reDUX) Template
 
Best to use PHP links for the slides, so that when you go live, the clean/cdseo URLs will update automatically.
Code:

category - home.php?cat=123
product - product.php?productid=123
manufacturer - manufacturers.php?manufacturerid=123
page - pages.php?pageid=123


nauticalstyle 05-11-2021 01:13 AM

Re: X-Cart reBOOT (reDUX) Template
 
Thanks Phil

nauticalstyle 05-11-2021 11:49 PM

Re: X-Cart reBOOT (reDUX) Template
 
Here's an update (fix) to the code in Phil's last post:

For manufacturer, use manufacturers.php?manufacturerid=123
For page, use pages.php?pageid=123

Refer to the relevant database table for the id numbers, i.e.:

For manufacturer, refer to xcart_manufacturers table.
For page, refer to xcart_pages table.

PhilJ 05-12-2021 11:38 AM

Re: X-Cart reBOOT (reDUX) Template
 
12th May - Some updates, files will be available tomorrow.

anandat 05-14-2021 10:20 PM

Re: X-Cart reBOOT (reDUX) Template
 
Redux is looking fantastic Phil :-). You have added some nice features which were always required....can't wait to upgrade
And by the way your SEO tips at https://xcartmods.com/reboot/tips is a mini SEO course ...keep it up bro

Dougrun 05-17-2021 10:18 AM

Re: X-Cart reBOOT (reDUX) Template
 
in readme, :
4) In /skin/reboot/customer/service_js.css
should be

4) In /skin/reboot/customer/service_js.tpl

PhilJ 05-17-2021 04:22 PM

Re: X-Cart reBOOT (reDUX) Template
 
https://www.smashingmagazine.com/2021/04/humble-img-element-core-web-vitals/

peggyr 05-21-2021 02:03 PM

Re: X-Cart reBOOT (reDUX) Template
 
Hi Phil,

Google’s search console Core Web Vitals Pagespeed Insights tool for desktop is great for my site.

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fmystore.com%2F&tab=desktop&hl=e n

my site desktop results in a 98 score

Google’s search console Core Web Vitals Pagespeed Insights tool for mobile is terrible for my site.

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fmystore.com%2F&tab=mobile&hl=en

my site mobile results in a 41 score

The crawling of my site via robots.txt appears to be done with googlebot smartphone, which I can not modify to be done with desktop. The googlebot user-agent token is the same for both.

https://developers.google.com/search/docs/advanced/crawling/overview-google-crawlers

Google is updating their Core Web Vitals implementation this month (May)

My site results from https://gtmetrix.com/analyze.html is 93%, using the default Vancouver Chrome Desktop test server.

Maybe this isn't a problem that I can do anything about. Or maybe it isn't a problem at all.

Just checking if there are any checklists to maximize mobile settings with reDUX.

Thanks for any ideas, including nothing to spend time on!

Peggy

PhilJ 05-22-2021 05:25 AM

Re: X-Cart reBOOT (reDUX) Template
 
https://web.dev/vitals/

LCP: https://web.dev/optimize-lcp/

- Largely depends on your server config, DNS response time, TTFB, traffic, network latency, caching, GZIP, PHP version etc. etc.
- Can't do much about render blocking JS, it's always been an issue with X-Cart Classic, core JS code can't be moved from the <head>. reBOOT JS appears at the bottom of the page.
- Defer third-party JS if you can.
- Consider using a CDN.

FID: https://web.dev/optimize-fid/

- Keep your pages lightweight, don't go overboard with too much content.
- Try masonry layouts instead of product switchers, which will use less HTML code.
- ALWAYS optimise and lazyload your images, videos etc.
- Check any off-site/third-party content you may have.
- Disable any unnecessary modules.
- Ensure HTML, CSS & JS are minified.

CLS: https://web.dev/optimize-cls/

- Check all your images have width and height attributes set, so there's limited 'shifts' in the layout. Use the CSS aspect-ratio wrappers.
- For non-catalog images, you might want to consider changing other images to Base64, which will reduce server requests.
- Using lots of carousels can sometimes affect CLS.
- Using standard font stacks instead of Google fonts may help.

I've just added some image tools here.

I already know your site is pretty 'lean', but I'd be fairly happy with your results so far.

To optimise your store further, you can remove un-used JS and CSS, but to do so, you need to know what you're doing. I can assist on a site-by-site basis (paid help).

Use the browser console > network tab to check for bottlenecks, page size and speed.

elmirage001 05-22-2021 03:30 PM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
Hi Everyone!

For CWV, I moved to a faster server and then did lots of tweaking. I'm attaching my Google Search Console Page Experience showing I'm good to go. Thank you Phil for the Aspect Ratio Wrappers and Responsive Lazyloading using SRCSET examples in your X-Cart reBOOT Testing Ground. These saved the day working with my custom mod CLS issues.

Paul

Attachment 5642

peggyr 05-22-2021 06:34 PM

Re: X-Cart reBOOT (reDUX) Template
 
Thanks Paul,

I'm studying / following your techniques tomorrow.

I have confirmed my ionos server is performing at 100% according to their reports on my site for high speed loading/page requests from those accessing my site.

My desktop numbers from pagespeed insights for performance are consistently 95% range and the best practices / SEO from web.dev are consistently at 100, and accessability is consistently at 89.

So, it's only the 'mobile' numbers that are low and inconsistent between 39 and 61, which as you have pointed out is likely due to Google using a slow mobile phone simulation.

Thanks again Paul -- will reply back once I have any results.

Peggy

PhilJ 05-26-2021 03:33 AM

Re: X-Cart reBOOT (reDUX) Template
 
26th May - Breaking changes with Google maps * , info in the changelog. New tools section added also.

* no longer an issue.

Dougrun 05-26-2021 08:15 AM

Re: X-Cart reBOOT (reDUX) Template
 
Quote:

Originally Posted by PhilJ
26th May - Breaking changes with Google maps, info in the changelog. New tools section added also.





The api key I use in the general settings still works on the admin order pages, is there a way to use that key?

PhilJ 05-27-2021 12:33 AM

Re: X-Cart reBOOT (reDUX) Template
 
It's been fixed. It uses the Google Maps API key in general settings. There's two new template setting fields for lat/long coordinates, which are more accurate anyway.

EDIT: The previous maps are working again... Must have been an issue Google-side, so ignore the last fix.

peggyr 05-27-2021 03:20 PM

Re: X-Cart reBOOT (reDUX) Template
 
Paul and Phil,

Thanks for your input on ways to improve PageSpeed Insights results.

My site has NO Page Experience, saying "Not enough data collected for this property" which is on both my mobile and desktop. I do NOT use Chrome, and maybe that is a pre-req to get the Page Experience Data. I use Firefox and Opera.

However, saying that, my pagespeed insights MOBILE number are now around 75 consistently, and desktop around 98, so I'm done for now.

I don't know if any of this will make a difference in anything, time will tell.

Again - thanks to Phil and Paul

PhilJ 06-04-2021 10:46 PM

Re: X-Cart reBOOT (reDUX) Template
 
4th June 2021 - Pleased to announce new security settings. The testimonials manager has been simplified also. Details in the changelog.

ITVV 06-06-2021 12:46 AM

Re: X-Cart reBOOT (reDUX) Template
 
Hi,

I have a category with two sub-categories and I would like to "centre" the two sub-categories on the page.

I can see that the file I need is
Code:

/skin/reboot/customer/main/subcategories_t.tpl
Q/ What <div> code do I need to add to achieve this please?

Many thanks in advance

Kind regards

ITVV

PhilJ 06-06-2021 12:57 AM

Re: X-Cart reBOOT (reDUX) Template
 
@ITVV, edit /skin/reboot/customer/main/subcategories_t.tpl

Near the top, replace...
Code:

<div class="row align-items-start">
With...
Code:

<div class="row align-items-start justify-content-md-center">

ITVV 06-06-2021 01:01 AM

Re: X-Cart reBOOT (reDUX) Template
 
@PhilJ

BRILLIANT as always and super quick answer :D/ :D/ :D/

Many thanks Phil :D

Kind regards

ITVV


All times are GMT -8. The time now is 02:49 PM.

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