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)

sinobest 02-10-2021 02:32 PM

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.

PhilJ 02-11-2021 12:40 AM

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}


sinobest 02-11-2021 01:28 AM

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.

elmirage001 02-13-2021 11:19 AM

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

peggyr 02-14-2021 08:09 AM

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

PhilJ 02-15-2021 01:40 AM

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.

sinobest 02-15-2021 06:47 PM

Re: X-Cart reBOOT (reDUX) Template
 
How to set the category Second Description to default editor, please?
Or disable the WYSIWYG editor.

PhilJ 02-16-2021 12:01 AM

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],

sinobest 02-16-2021 01:59 AM

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

PhilJ 02-16-2021 04:30 AM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
@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.


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

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