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
  #201  
Old 02-10-2021, 02:32 PM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 462
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
Originally Posted by PhilJ
/skin/reboot/customer/main/subcategories.tpl


The different category has different FAQs, if I add the codes at subcategories.tpl, all categories will have the same FAQs, if i use if clause to add FAQs, subcategories.tpl will be very big.


I think it is better we can add FAQs from x-cart back end, it is easy for customers to add/modify/delete FAQs.
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
  #202  
Old 02-11-2021, 12:40 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

I'll consider adding category FAQs... need to decide on the best way first.

In the meantime you can just use code like this in /skin/reboot/customer/main/subcategories.tpl
Quote:
{if $current_category.categoryid eq 123}
...
{elseif $current_category.categoryid eq 234}
...
{elseif $current_category.categoryid eq 345}
...
{/if}
__________________
xcartmods.co.uk
Reply With Quote
  #203  
Old 02-11-2021, 01:28 AM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 462
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
Originally Posted by PhilJ
I'll consider adding category FAQs... need to decide on the best way first.

In the meantime you can just use code like this in /skin/reboot/customer/main/subcategories.tpl




Say, I have 200 categories, the file will be very very big, it is better to save each faq at the database, just add a field.
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
  #204  
Old 02-13-2021, 11:19 AM
 
elmirage001 elmirage001 is offline
 

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

Default Re: X-Cart reBOOT (reDUX) Template

Hi Phil !!


(I posted in reBOOT by mistake so I deleted there and adding here.)


I'm finally back to working on reDUX and loving it even more!
Question: Is reDUX optimized for Core Web Vitals and do you have any tips for us? Google is set to turn this on in May.

Thank you so much!

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #205  
Old 02-14-2021, 08:09 AM
  peggyr's Avatar 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 635
 

Default Re: X-Cart reBOOT (reDUX) Template

Hi Phil,

Your update download, X-Cart_reBOOT_[reDUX]_4.7.12.4.zip contains REBOOT_VERSION as 4.7.12.5

X-Cart reBOOT reDUX Version 4.7.12.5 with a 1-21-21 date.

Is this zip 4.7.12.5, or should the REBOOT_VERSION file be 4.7.12.4?

Thanks
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live
IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7
Reply With Quote
  #206  
Old 02-15-2021, 01:40 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
Is reDUX optimized for Core Web Vitals and do you have any tips for us? Google is set to turn this on in May.
@ Paul, I'm looking at ways to improve the CWV's, but a lot depends on your server spec/configuration. I've had a few people asking me about this, only to find that they're on cheap shared hosting, or they have poorly optimised images etc.

There's some good tips here BTW...
https://www.practicalecommerce.com/seo-common-fixes-to-core-web-vitals
https://blog.uptrends.com/web-performance/6-ways-to-reduce-time-to-first-byte-ttfb/

The positioning of javascript files can't be fixed, it's an age old limitation with X-Cart Classic.

CLS can probably be improved by not using carousels.

reDUX should already score highly for SEO in Lighthouse. Structured data is already taken care of.

Quote:
Is this zip 4.7.12.5, or should the REBOOT_VERSION file be 4.7.12.4?
@ Peggy, that's a typo, it's still at v4.7.12.4, I've updated the zip file, sorry for any confusion.

Next major update will happen when v4.7.13 gets released, fingers crossed.
__________________
xcartmods.co.uk
Reply With Quote

The following 2 users thank PhilJ for this useful post:
elmirage001 (02-15-2021), peggyr (02-16-2021)
  #207  
Old 02-15-2021, 06:47 PM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 462
 

Default Re: X-Cart reBOOT (reDUX) Template

How to set the category Second Description to default editor, please?
Or disable the WYSIWYG editor.
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
  #208  
Old 02-16-2021, 12:01 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
How to set the category Second Description to default editor, please?
Or disable the WYSIWYG editor.
In /skin/reboot/admin/main/category_modify.tpl

Replace...
Quote:
<textarea name="seo" cols="45" rows="6" class="InputWidth redactorme">{$current_category.seo}</textarea>
With...
Quote:
{*<textarea name="seo" cols="45" rows="6" class="InputWidth redactorme">{$current_category.seo}</textarea>*}
{include file="main/textarea.tpl" name="seo" cols=65 rows=15 data=$current_category.seo entity_id=$current_category.categoryid entity_type='category_description_2'}
Then in /skin/common_files/modules/Redactor/redactor.tpl

Around line 101, remove...
Quote:
textarea[name=seo],
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
sinobest (02-16-2021)
  #209  
Old 02-16-2021, 01:59 AM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 462
 

Default Re: X-Cart reBOOT (reDUX) Template

https://www.opticalusa.com/

how to set the numbers of posts will be shown under "Latest from the Blog" at the homepage, say only display 4 latest posts, and let the new posts display in a row, please?


Thanks
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
  #210  
Old 02-16-2021, 04:30 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

@sinobest, upload attached featured_items_blog.tpl to /skin/reboot/customer/

Then in your home template (skin/reboot/custom/home/home_style_x.tpl)

Replace...
Quote:
{include file="customer/featured_items.tpl" items=$blog_latest
With...
Quote:
{include file="customer/featured_items_blog.tpl" items=$blog_latest
If you want further help, it would be a paid job.
Attached Files
File Type: tpl featured_items_blog.tpl (2.7 KB, 3 views)
__________________
xcartmods.co.uk
Reply With Quote

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



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 08:37 AM.

   

 
X-Cart forums © 2001-2020