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)

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 12:45 PM.

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