Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

X-Cart reBOOT (reDUX) Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #271  
Old 03-27-2021, 02:03 AM
 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 522
 

Default 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
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.5 | Live
IONOS Hosting | Linux | PHP 7.4.5 | MySQL 5.7
Reply With Quote
  #272  
Old 03-27-2021, 03:28 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,929
 

Default 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.
__________________
XCARTMODS.CO.UK | reBOOT Template | Changelog
Reply With Quote

The following user thanks PhilJ for this useful post:
peggyr (03-27-2021)
  #273  
Old 04-01-2021, 07:44 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,842
 

Default 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
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template | Live
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template | Dev
  • XCARTMODS.CO.UK | reBOOT (reDUX) |
  • Performive Hosting | Linux | PHP v7.4.15 | MySQL v5.7.33 |
Reply With Quote

The following 2 users thank elmirage001 for this useful post:
ITVV (04-01-2021), PhilJ (04-01-2021)
  #274  
Old 04-02-2021, 12:49 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,929
 

Default 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/
__________________
XCARTMODS.CO.UK | reBOOT Template | Changelog
Reply With Quote

The following user thanks PhilJ for this useful post:
elmirage001 (04-05-2021)
  #275  
Old 04-02-2021, 03:02 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,929
 

Default 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';
__________________
XCARTMODS.CO.UK | reBOOT Template | Changelog
Reply With Quote

The following 2 users thank PhilJ for this useful post:
elmirage001 (04-05-2021), ITVV (04-02-2021)
  #276  
Old 04-10-2021, 04:24 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,842
 

Default Re: X-Cart reBOOT (reDUX) Template

Okay Phil... I give up

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????

Thanks!

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template | Live
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template | Dev
  • XCARTMODS.CO.UK | reBOOT (reDUX) |
  • Performive Hosting | Linux | PHP v7.4.15 | MySQL v5.7.33 |
Reply With Quote
  #277  
Old 04-12-2021, 01:36 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,929
 

Default 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');
__________________
XCARTMODS.CO.UK | reBOOT Template | Changelog
Reply With Quote

The following user thanks PhilJ for this useful post:
elmirage001 (04-12-2021)
  #278  
Old 04-12-2021, 12:15 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,842
 

Default 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
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template | Live
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template | Dev
  • XCARTMODS.CO.UK | reBOOT (reDUX) |
  • Performive Hosting | Linux | PHP v7.4.15 | MySQL v5.7.33 |
Reply With Quote

The following user thanks elmirage001 for this useful post:
PhilJ (04-13-2021)
  #279  
Old 04-14-2021, 01:50 PM
 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 522
 

Default 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
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.5 | Live
IONOS Hosting | Linux | PHP 7.4.5 | MySQL 5.7
Reply With Quote
  #280  
Old 04-14-2021, 09:49 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,929
 

Default 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;
__________________
XCARTMODS.CO.UK | reBOOT Template | Changelog
Reply With Quote

The following user thanks PhilJ for this useful post:
peggyr (04-15-2021)
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:21 AM.

   

 
X-Cart forums © 2001-2020