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)

ITVV 02-28-2021 10:51 PM

Re: X-Cart reBOOT (reDUX) Template
 
Hi @peggyr

Thanks for the input.

Sadly done all that and no luck!

Many thanks and kind regards

ITVV

ITVV 02-28-2021 10:57 PM

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

Thanks for the files :D

Ran the tests and as you said all it found were .js files, mostly ckeditor. Also ran the fixer file just in case but sadly still the same issues 8O 8O

I am going to do the migration again in the hopes it solves the issues - stay tuned :roll:

Thanks to all for the valuable inputs - it's appreciated 8)

I know that this is not a reBOOT / reDUX issue - it's some kink in the system - it's just finding it :(

Will update as soon as I have a chance to run the migration again.

Many thanks and kind regards to all

ITVV

ITVV 03-01-2021 03:17 AM

Re: X-Cart reBOOT (reDUX) Template
 
UPDATE

Have now redone the migration, here's how

rsync from DEVELOPMENT Server to PRODUCTION Server

DB Dump from DEVELOPMENT Server to PRODUCTION Server

Altered config.php with relevant data - including removing the SUB DOMAIN that the DEVELOPMENT Server referenced

Altered .htaccess with relevant data

Generate clean URL values
Optimize tables
Check database integrity
Force cache generation
Clear X-Cart cache
Remove temporary files
Rebuild category indexes
Re-generate the image cache

Admin > Settings > Images Location - All images show as File system

Checked Error Logs - nothing unexpected

Admin > Catalog > Manufacturers - Select a manufacturers - NO IMAGE!

Right Clicked on where image should show and selected INSPECT on both DEVELOPMENT and PRODUCTION Servers and noted the following: -

DEVELOPMENT
<img id="edit_image" src="/xcart-4712-development/image.php?type=M&amp;id=6&amp;ts=1614595202" alt=" Image size: 200x89, 13.547Kb
Image type: jpeg" style="margin-bottom: 10px;">

ts (Time Stamp) FROM ABOVE
1614595202 = Mon Mar 01 2021 10:40:02 GMT+0000

IN DATABASE
1608137274 = Wed Dec 16 2020 16:47:54 GMT+0000

IMAGE SIZE IN DB = 13872

IMAGE TRUE SIZE = 13872



PRODUCTION
<img id="edit_image" src="/image.php?type=M&amp;id=6&amp;ts=1614595194" alt=" Image size: 200x89, 13.547Kb
Image type: jpeg" style="margin-bottom: 10px;">

ts (Time Stamp) FROM ABOVE
1614595194 = Mon Mar 01 2021 10:39:54 GMT+0000

IN DATABASE
1608137274 = Wed Dec 16 2020 16:47:54 GMT+0000

IMAGE SIZE IN DB = 13872

IMAGE TRUE SIZE = 13872



I AM COMPLETELY CONFUSED 8O8O8O


Can anyone spot what I have missed please?


Many thanks

ITVV 03-01-2021 06:24 AM

Re: X-Cart reBOOT (reDUX) Template
 
UPDATE #2

SUCCESS

In pure frustration I went to our control Panel and DELETED our Production website 8O 8O

So whatever it was is now GONE :D :D

All is well with the world - at last :D :D

I apologise for the waste of bandwidth and brain ache this issue has caused :oops: :oops:

Particular thanks must go to @PhilJ for his invaluable input and also everyone else that had input - thanks for the help :D/

Kind regards to all

ITVV

PhilJ 03-01-2021 10:34 AM

Re: X-Cart reBOOT (reDUX) Template
 
https://www.youtube.com/watch?v=3GwjfUFyY6M


:)

peggyr 03-03-2021 03:15 PM

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

While I don't use many of your template functions, I wanted to let you know I am now LIVE on 4.7.12.4 template.

So far everything appears to be working as I wanted.

Thanks for your 'tweeking' help on my testing copy.

Now, I'll start looking at the SEO areas in more detail and CORE WEB VITALS from google

Peggy

PhilJ 03-05-2021 10:58 PM

Re: X-Cart reBOOT (reDUX) Template
 
Easy Custom Contact Forms is pretty much ready.

Can anyone check https://xcartmods.com/reboot/eccf and let me know if anything doesn't quite make sense, ta.

ITVV 03-06-2021 04:49 AM

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

Just a quick question please;

What would you suggest as the max size for Thumb Nails for reBOOT / reDUX?

I know that xcart suggests 150px x 150px as the max size but they are a little small TBH.

Many thanks as always

ITVV

PS - The Easy Custom Contact Forms look great - all makes sense to me :D

PhilJ 03-06-2021 10:54 AM

Re: X-Cart reBOOT (reDUX) Template
 
Depends, they can be as large or as small as you like, but you have to optimise your images to be as small in file size, yet be of a fairly decent quality. There's a fine balance.

https://xcartmods.com/reboot/resources#img_optim

Phil speaking the bleeding obvious, there.

peggyr 03-06-2021 02:32 PM

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

I want to have the 'Send to a Friend' section, moved after 'Related Products' section.

I've been looking at skin/reboot/customer/main/product.tpl

I got related products moved above 'descriptions',which I don't want, but so far, my changes haven't worked.

Can you tell me what needs to be changed?

Thanks

Peggy

elmirage001 03-06-2021 03:19 PM

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

Originally Posted by PhilJ
Easy Custom Contact Forms is pretty much ready.

Can anyone check https://xcartmods.com/reboot/eccf and let me know if anything doesn't quite make sense, ta.

Hi Phil, Looks great! I'll start converting my reBOOT form to ECCF and let you know how it goes. Thank you so much!

Paul

elmirage001 03-06-2021 04:26 PM

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

I'm not finding ECCF to download in my order invoices.

Thanks,

Paul

EDIT -Hi Phil, I should have added that I did not see ECCF in the ADDONS sections in the download zip.

ITVV 03-06-2021 11:46 PM

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

Originally Posted by PhilJ
Depends, they can be as large or as small as you like, but you have to optimise your images to be as small in file size, yet be of a fairly decent quality. There's a fine balance.

https://xcartmods.com/reboot/resources#img_optim

Phil speaking the bleeding obvious, there.

The reason I asked was because there is an issue with scrolling if the images are larger than say 200px X 283px.

In the product listing, if you scroll down it is not a smooth experience. Jagged is probably the best description. This happens on desktops and mobiles. The page seems to "jump" down, say 50px?

Again in product listing, on iPhones, (Safari, Chrome, Firefox) in Portrait mode, when scrolling or simply touching the screen, you can move the page to the left or right side. Very odd. At first I thought it was image size but I'm not sure it is?

PhilJ 03-14-2021 03:52 PM

Re: X-Cart reBOOT (reDUX) Template
 
Hi folks, ECCF is now available.

https://xcartmods.com/reboot/eccf

There'll also be a reBOOT update in the next 1-2 days.

elmirage001 03-15-2021 03:36 PM

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

Originally Posted by PhilJ
Hi folks, ECCF is now available.

https://xcartmods.com/reboot/eccf

There'll also be a reBOOT update in the next 1-2 days.

Hi Phil. I've installed and I'm testing now. I have a complicated reBOOT form that I'll be converting and I'll let you know how it goes.

The Admin options are fantastic and I no longer have to edit the php to change the email address(es) the form is sent to.

Thank you so much!

Paul

PhilJ 03-16-2021 02:45 AM

Re: X-Cart reBOOT (reDUX) Template
 
Thanks Paul, docs updated to make them easier to navigate.

elmirage001 03-18-2021 04:03 PM

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

Originally Posted by PhilJ
Thanks Paul, docs updated to make them easier to navigate.

Hi Phil, the updated docs are great and I'm just about finished converting my old reBOOT form to ECCF. I do have a question. When you tab through the fields is there any way to have the tab bypass the hidden honeypot field?

Thanks!
Paul

PhilJ 03-19-2021 04:46 AM

Re: X-Cart reBOOT (reDUX) Template
 
You can move the honeypot field to the very start to the form if you like, ie. above the name field.

elmirage001 03-19-2021 04:02 PM

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

Originally Posted by PhilJ
You can move the honeypot field to the very start to the form if you like, ie. above the name field.

Thanks Phil! That worked great! ECCF is working perfectly!

Have a great weekend!

Paul

PhilJ 03-22-2021 05:00 AM

Re: X-Cart reBOOT (reDUX) Template
 
22/3/21 - v4.7.12.5 - Changelog - Mainly nice new order invoices, for which there's patched files.

Dougrun 03-22-2021 03:27 PM

Re: X-Cart reBOOT (reDUX) Template
 
UPDATE The 'thumbnail hover/swap' feature can be disabled, admin and customer-side.
Where in the options is this? can't seem to find it. I added the SQL.

PhilJ 03-22-2021 03:54 PM

Re: X-Cart reBOOT (reDUX) Template
 
@Doug, in /skin/reboot/main/product_details.tpl

Replace...
Code:

{include file="main/image_area.tpl"}

With...
Code:

{if $config.Reboot.reboot_products_thumbnail_swap ne "Y"}
{include file="main/image_area.tpl"}
{else}
{include file="main/image_area_swap.tpl"}
{/if}

Then, upload the following from the v4.7.12.5 zip file...

/skin/reboot/product_thumbnail.tpl
/skin/reboot/main/image_area.tpl
/skin/reboot/main/image_area_swap.tpl

Any probs, let me know.

PhilJ 03-25-2021 02:56 AM

Re: X-Cart reBOOT (reDUX) Template
 
You can get quite a decent boost in GTMetrix, by adding this code to the end of /skin/reboot/custom/prefetch.tpl
Code:

<link rel="preload" href="{$AltSkinDir}/fonts/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin="anonymous">

You can remove the unsplash.com code if you want also.

It's been added to the template. Thanks to Paul.


Also, you can now promote coupons to the homepage, plus add custom coupon text and icons.


Some good ideas here - https://freddiechatt.com/playbook/

peggyr 03-25-2021 11:32 AM

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

When going from reDUX 4.7.12.4 to reDUX 4.7.12.5, are there any changes to the main reDUX install steps 1-16?

Or just the updates to the SQL tables and the module uploads?

I've created a version of the UPLOAD file changes with the changes between 4.7.12.4 and 4.7.12.5, and just comparing those to any files I may have changed, and then going to do the upgrade to .5
using my limited set of file.

Thanks for clarifying, if my approach should/should not work before I give it a try. I've done my backups.

Peggy

PhilJ 03-25-2021 12:01 PM

Re: X-Cart reBOOT (reDUX) Template
 
No changes to the install steps, but I'd always suggest downloading the very latest files from your order invoice before you do any file comparisons etc.
There were minor changes made earlier today.

peggyr 03-25-2021 01:06 PM

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

I downloaded the X-Cart_reBOOT_[reDUX]_4.7.12.5.zip on Mar 21, and using that zip for file comparison to my current system.

Thanks.

Peggy

elmirage001 03-25-2021 01:15 PM

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

I'm finally live on reDUX and loving it. The best just keeps getting better!

If anyone would like to checkout my site and complicated ECCF form just PM me.

Thank you Phil for your continued excellence and untiring effort to give us the best template there is!

Paul

PhilJ 03-25-2021 11:26 PM

Re: X-Cart reBOOT (reDUX) Template
 
https://gtmetrix.com/reports/xcartmods.com/TbLPFkM2/

If only X-Cart could fix the dreaded "Defer parsing of JavaScript" issue...

peggyr 03-26-2021 02:10 PM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
Phil,

FYI - I just upgraded my live store to 4.7.12.5.

I have one little hiccup, self-inflicted, when customer logs on. In account information, I had 'previously' removed the avatar - circle icon with the customer initials in it.

It is back partially appearing, see attached, logged-on-account-current.jpg.

I'd like to remove the circle ICON again, but can't remember where that is done.

thx

Peggy

PhilJ 03-26-2021 08:49 PM

Re: X-Cart reBOOT (reDUX) Template
 
Hi Peggy, sorry I should make it a setting really, but edit /skin/reboot/custom/header/dropdown_account.tpl

Replace...
Code:

{include file="customer/authbox_links.tpl" noavatar=false avatar=false dropdown=true}
With...
Code:

{include file="customer/authbox_links.tpl" noavatar=true avatar=false dropdown=true}
If you use noavatar=false avatar=true, it uses Gravatars for the profile icon.

peggyr 03-27-2021 02:03 AM

Re: X-Cart reBOOT (reDUX) Template
 
Same gravatar when logged on and 'view cart'

<span class="letter-div rounded-circle shadow-sm flex-center ldiv" style="width: 60px; height: 60px; background-color: rgb(255, 0, 0);"><span class="text-glow-dark-xs letter-spacing-2 text-white ldiv" style="font-size:24px;"></span></span>



I searched around trying to find the tpl to change, but so far haven't found it.

Thx

Peggy

PhilJ 03-27-2021 03:28 AM

Re: X-Cart reBOOT (reDUX) Template
 
@ Peggy, do the same in /skin/reboot/customer/authbox.tpl
Code:

{include file="customer/authbox_links.tpl" noavatar=true avatar=false bb=true}
I've decided to disable the avatars by default.

elmirage001 04-01-2021 07:44 AM

Re: X-Cart reBOOT (reDUX) Template
 
RAVE for Phil and reBOOT reDUX.

Since the Raves section of the forums is no more I'll post my Rave here.

We just finished converting our X-Cart 4 reBOOT store to Phil's new reBOOT reDUX template and all we can say is WOW. Our store's appearance, functionality, and ease of use for our customers are outstanding. We've been using Phil's templates for over 7 years and the best just keeps getting better. Our main competitors use Shopify, BigCommerce, and WooCommerce and none of them can compete with us total package vs total package. On SEMRUSH our top 200 keywords rank as follows. Top 3 = 120, Top 10 = 167, Top 20 = 179, and Top 100 = 198. For Visibility our store ranks at 47.85% with Competitor #1 at 15.98% and Competitor #2 at 6.97%. Our Average Position is 7.79. If you want to seriously compete in your marketplace X-Cart 4 plus reBOOT reDUX is an unstoppable combination. We play to win and with reBOOT reDUX we hit the jackpot!

Paul

PhilJ 04-02-2021 12:49 AM

Re: X-Cart reBOOT (reDUX) Template
 
https://www.webdots.com.ng/how-to-block-cutestat-from-indexing-your-website-in-2020/

https://www.lafoo.com/the-end-of-amp/

PhilJ 04-02-2021 03:02 AM

Re: X-Cart reBOOT (reDUX) Template
 
If you use Clean URLs for SEO, which I suspect most of you are, here's some handy SQL patches (tested), for those with a medium-large size product catalog.

If you've already optimised your product SEO titles and meta descriptions, this isn't for you.

If you're going to try them, use with caution and MAKE A DB BACKUP FIRST!

1) Auto-populate empty SEO titles with the product names...
Code:

# Set all empty SEO titles to the product names
UPDATE xcart_products t1
  INNER JOIN xcart_products_lng_en t2
    ON t1.productid = t2.productid
SET t1.title_tag = t2.product
WHERE t1.title_tag = '';


If you want to just test on an individual product, for the last line above use...
Code:

WHERE t1.title_tag = '' AND t1.productid = '1234';

2a) Auto-populate empty SEO meta descriptions with the product descriptions... (read 2b first)
Code:

# Set all empty SEO meta descriptions to the product descriptions
UPDATE xcart_products t1
  INNER JOIN xcart_products_lng_en t2
    ON t1.productid = t2.productid
SET t1.meta_description = t2.descr
WHERE t1.meta_description = '';


If you want to just test on an individual product, for the last line above use...
Code:

WHERE t1.meta_description = '' AND t1.productid = '1234';

2b) Yikes, it's included product description HTML tags in the SEO meta descriptions...

Don't panic, you can strip HTML / Carriage Returns / Line Feeds with this patch... (assuming you have clean product description HTML)
Code:

# Remove HTML / Carriage Returns / Line Feeds and left trim
UPDATE xcart_products set meta_description=replace(meta_description, '<p>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</p>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<div>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</div>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<b>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</b>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<i>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</i>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<em>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</em>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<u>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</u>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<ul>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</ul>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<ol>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</ol>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<li>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</li>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<span>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</span>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<hr>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<hr />', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<br>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<br />', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<h1>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</h1>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<h2>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</h2>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<h3>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</h3>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<h4>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</h4>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<h5>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</h5>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '<h6>', '');
UPDATE xcart_products set meta_description=replace(meta_description, '</h6>', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '  ', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '  ', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, '    ', ' ');
UPDATE xcart_products set meta_description=replace(meta_description, CHAR(9), '');
UPDATE xcart_products set meta_description=replace(meta_description, CHAR(10), '');
UPDATE xcart_products set meta_description=replace(meta_description, CHAR(13), '');
UPDATE xcart_products SET meta_description = LTRIM(meta_description);


If you've made any mistakes and want to start over...
Code:

# Clear all SEO titles
UPDATE xcart_products SET title_tag= '';

or...
Code:

# Clear SEO title on product
UPDATE xcart_products SET title_tag= '' WHERE productid = '1234';


Code:

# Clear all SEO meta descriptions
 UPDATE xcart_products SET meta_description = '';

or...
Code:

# Clear SEO meta description on product
UPDATE xcart_products SET meta_description = '' WHERE productid = '1234';


elmirage001 04-10-2021 04:24 PM

Re: X-Cart reBOOT (reDUX) Template
 
Okay Phil... I give up :lol:

Code:

<span class="letter-div rounded-circle shadow-sm flex-center ldiv" style="width:60px;height:60px;"><span class="text-glow-dark-xs letter-spacing-2 text-white ldiv" style="font-size:24px;">PH</span></span>

How do you change the color of the circle???? 8O

Thanks!

Paul

PhilJ 04-12-2021 01:36 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Paul the background color is picked using a JS function, see in /skin/reboot/js/reboot.js around line 1346...
Code:

$(this).css('background-color', pickColor(str));
You can change to a specific colour, by changing to eg.
Code:

$(this).css('background-color', '#000080');

elmirage001 04-12-2021 12:15 PM

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

Originally Posted by PhilJ
@Paul the background color is picked using a JS function, see in /skin/reboot/js/reboot.js around line 1346...
Code:

$(this).css('background-color', pickColor(str));
You can change to a specific colour, by changing to eg.
Code:

$(this).css('background-color', '#000080');


Thanks Phil !! I've changed to a custom color and it's perfect!

Paul

peggyr 04-14-2021 01:50 PM

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

In skin/reboot/modules/Fast_Lane_Checkout/main.css on line 178 includes a link to

skin/reboot/images/cart_checkout.gif which did not exist on my system.

I copied the file from skin/common_files/images to the skin/reboot/images directory.

I've checked reboot 4.7.12.4 and 4.7.12.5 zip files for the file, and couldn't find it. Maybe I missed it somehow, but if not FYI.


Peggy

PhilJ 04-14-2021 09:49 PM

Re: X-Cart reBOOT (reDUX) Template
 
@Peggy, in skin/reboot/modules/Fast_Lane_Checkout/main.css

Just remove the line...
Code:

  background: transparent url(../../images/cart_checkout.gif) no-repeat left top;


All times are GMT -8. The time now is 07:29 AM.

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