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)

PhilJ 01-30-2021 08:02 AM

Re: X-Cart reBOOT (reDUX) Template
 
30th Jan 2020 - You can now easily add a YouTube video to your category description dialogs - Admin Screenshot - Demo - Changelog

elmirage001 02-03-2021 11:09 AM

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

Is there an easy way to move existing reDUX template settings to a reDUX upgrade without manually updating each field with the original value?

Thanks!

Paul

PhilJ 02-04-2021 03:49 AM

Re: X-Cart reBOOT (reDUX) Template
 
@ Paul, unfortunately not, but you could run a file comparison on the 02_reboot_template_settings.sql file, to see the differences and only apply the newer entries.

There's links to popular file comparison tools in the resources.

PhilJ 02-05-2021 09:00 AM

Re: X-Cart reBOOT (reDUX) Template
 
Get off Chrome folks, or anything Chromium based, been saying it for years...

https://www.theregister.com/2021/02/05/chrome_zero_day_update/

https://www.mozilla.org/en-US/firefox/new/

sinobest 02-09-2021 10:14 PM

Re: X-Cart reBOOT (reDUX) Template
 
I have set homepage style 2 as default for https://www.opticalusa.com/ , and I have set up 4 categories as blog categories, and have post 2 posts. How to get 3 latest build-in blog posts on the homepage, please?

sinobest 02-09-2021 10:39 PM

Re: X-Cart reBOOT (reDUX) Template
 
home_style_2.tpl
Quote:

<div class="lazyload bg-cover-center" data-bg="https://source.unsplash.com/random/640x480?technology&sig=123" style="height:480px;"></div>
</div>



how about changing the code to:
Quote:

<div class="text-center p-3 img-fluid ">
<img src="https://source.unsplash.com/random/640x480?technology&sig=123" class="rounded" alt="...">
</div>



PhilJ 02-10-2021 05:34 AM

Re: X-Cart reBOOT (reDUX) Template
 
To display latest blog posts as a carousel, you can get the code from /skin/reboot/custom/home/home_style_1.tpl
Quote:

{if $blog_latest && $config.Reboot.reboot_blog_homepage eq "Y"}
{include file="customer/featured_items.tpl" items=$blog_latest carousel=$config.Reboot.reboot_blog_carousel descr=$config.Reboot.reboot_blog_descr icon="bullhorn" title=$lng.lbl_featured_blog_posts nodialog=true nosubheader=false br=true align="center" col_left="12" col_right="12" autosize=true}
{/if}

sinobest 02-10-2021 06:23 AM

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

Originally Posted by PhilJ
To display latest blog posts as a carousel, you can get the code from /skin/reboot/custom/home/home_style_1.tpl





how to set 3 blogs per row, and let the images be responsive also. i do not select "Show latest blog posts as a carousel"

sinobest 02-10-2021 06:28 AM

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

Originally Posted by PhilJ
I won't be adding custom FAQ fields for homepage and categories.

Your best bet it to just use plain HTML like this, which also includes microsnippets...

Code:

<div class="details-summary-accordion" itemscope itemtype="https://schema.org/FAQPage">

<details class="my-1" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question" open="open">
<summary class="h4 bg-light border rounded px-3 py-2" itemprop="name">This is Question 1?</summary>
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<p itemprop="text">This is the answer to question 1.</p>
</div>
</details>

<details class="my-1" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<summary class="h4 bg-light border rounded px-3 py-2" itemprop="name">This is Question 2?</summary>
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<p itemprop="text">This is the answer to question 2.</p>
</div>
</details>

<details class="my-1" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<summary class="h4 bg-light border rounded px-3 py-2" itemprop="name">This is Question 3?</summary>
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<p itemprop="text">This is the answer to question 3.</p>
</div>
</details>

</div>



Which will look like this.

You can of course substitute the questions and answers for language labels.

You can change the CSS styles for details/summary accordions in /skin/reboot/css/utilities.css





how to add these codes to each category, please?

PhilJ 02-10-2021 07:10 AM

Re: X-Cart reBOOT (reDUX) Template
 
/skin/reboot/customer/main/subcategories.tpl


All times are GMT -8. The time now is 11:19 PM.

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