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-21-2021 11:31 AM

Re: X-Cart reBOOT (reDUX) Template
 
The download file is always up to date, according to the changelog.

Dougrun 01-21-2021 01:17 PM

Re: X-Cart reBOOT (reDUX) Template
 
any idea why my root categories have disappeared from the admin page? I haven't even switched to the reDUX skin yet. I've tried rebuilding my indexes and clearing caches and still nothing. they appear on the website still, just not in admin. The only think I have done is installing the reDUX files and sql in prep for switching it tonight.


edit: im getting sql error :
Unknown column 'node.category_type' in 'field list'

PhilJ 01-21-2021 01:20 PM

Re: X-Cart reBOOT (reDUX) Template
 
Perhaps disable the reBOOT template in admin > modules... ?

Dougrun 01-21-2021 01:23 PM

Re: X-Cart reBOOT (reDUX) Template
 
reboot isnt showing in the module list like in my test shop.

Dougrun 01-21-2021 01:29 PM

Re: X-Cart reBOOT (reDUX) Template
 
I re-ran the 1 sql and it still isnt showing.

Dougrun 01-21-2021 01:32 PM

Re: X-Cart reBOOT (reDUX) Template
 
I went in phpmyadmin and the module is in the table, but is not showing on admin page, i disabled it manually, still no categories showing

PhilJ 01-21-2021 01:38 PM

Re: X-Cart reBOOT (reDUX) Template
 
Pop on live chat, could be a few things, but I think I know the issue.

Dougrun 01-21-2021 01:38 PM

Re: X-Cart reBOOT (reDUX) Template
 
func.categoty.php was corrupt somehow, looking into it before i can change skins, categories show with my backup version.

PhilJ 01-21-2021 01:40 PM

Re: X-Cart reBOOT (reDUX) Template
 
Yes, I was going to suggest that file first, there's a backup in the zip file.

Dougrun 01-21-2021 01:54 PM

Re: X-Cart reBOOT (reDUX) Template
 
works now, I remeber thinking i could upload the files and then got interrupted before finishing the SQL patches. thanks

Dougrun 01-21-2021 07:38 PM

Re: X-Cart reBOOT (reDUX) Template
 
How can I remove the prices from the predictive search results shown?

Dougrun 01-21-2021 08:25 PM

Re: X-Cart reBOOT (reDUX) Template
 
fyi, widescreen in settings doesnt work in chrome.

PhilJ 01-21-2021 09:24 PM

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

How can I remove the prices from the predictive search results shown?
Sent you a solution.
Quote:

fyi, widescreen in settings doesnt work in chrome.
It should do, tested fully :)

Dougrun 01-22-2021 07:33 AM

Re: X-Cart reBOOT (reDUX) Template
 
getting this:
Code:

Description : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 4 Request URI: /store/rss.php?news Backtrace: public_html/store/include/func/func.db.php:780 public_html/store/include/func/func.db.php:642 public_html/store/rss.php:29



I disabled the RSS for now

Dougrun 01-22-2021 09:08 AM

Re: X-Cart reBOOT (reDUX) Template
 
also would like to remove the product image from the minicart
edit: fixed, found it.

Dougrun 01-22-2021 09:39 AM

Re: X-Cart reBOOT (reDUX) Template
 
on my order exporting by semicolon, its now inserting extra line feeds. cant seem to find out why. already compared order_export.tpl files and order_export.php files and nothing changed. maybe a reboot file somewhere is parsing different?


opened a support ticket on this.

Dougrun 01-22-2021 03:28 PM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
something is not working with the variant display options. Inline radio sizes is not following the stock level. See this example:
https://www.vsathletics.com/store/VS-Athletics-Weightlifting-Shoe-II.html


If I choose stacked radio buttons, they all show and can all be selected, even though no error message appears when an out-of-stock item is added to cart???


But if I choose Inline Radio Sizes, it completely ignores whats in stock. Size 11.5 has 13 in stock and the skin is greying it out. (see pic)


Also, you can choose it and add it to the cart, so its functional but misleading as its greyed out. Verified that its also doing this on my test site if you need a playground to work on i.t

Dougrun 01-22-2021 03:40 PM

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

Originally Posted by Dougrun
fyi, widescreen in settings doesnt work in chrome.



weird, on one pc i works, the other it doesn't.

PhilJ 01-25-2021 02:48 AM

Re: X-Cart reBOOT (reDUX) Template
 
@ Doug, Your RSS feed appears to be working.

Re. radio sizes, I can't see any problems on the demo with out of stock options.

Re. exporting orders, there's nothing in the template that should affect export.

Dougrun 01-25-2021 07:45 AM

Re: X-Cart reBOOT (reDUX) Template
 
I still had rss turned on for other pages in the settings, i turned it off and no longer get the error


The Inline radio sizes are not working right. see https://www.vsathletics.com/store/vs-power-throw.html


I have size 10.0 at zero qty, all others have stock but it shows size 9.5 as being out.



The exporting orders ticket i have is serious. I need a solution for this. Why does it export fine using XC skins but gets messed up with your skin?

PhilJ 01-25-2021 08:10 AM

Re: X-Cart reBOOT (reDUX) Template
 
Try changing from a quantity input box, to a select dropdown in General Settings > Appearance (uncheck "Show quantity selector as input textbox").

Is "Disable inventory tracking" unchecked in General Settings?

The template has nothing to do with exporting orders. The only thing it can do related to orders, is tell you which type of device customers ordered with (mobile/tablet/desktop).

Dougrun 01-25-2021 08:22 AM

Re: X-Cart reBOOT (reDUX) Template
 
nope, changed to drop down and it still shows 9.5 is out, not 10.0


Yes, disable inventory is unchecked. any SKU on our site that has a ^ in it is exported to a report daily and I import those SKU's to update inventory on the website. Is it possible that some javascript code got updated somewhere that is causing it?

Dougrun 01-25-2021 01:27 PM

Re: X-Cart reBOOT (reDUX) Template
 
so for those following, we found that my variants for those items were not synched, i had to clone the item (and transfer its reviews too in phpmyadmin) to a new item and then the sizes showed correctly.



Still havent found the issue with the added line feeds in exports but i have a workaround since notepad+ will find/replace them fairly easy.

Dougrun 01-25-2021 04:54 PM

Re: X-Cart reBOOT (reDUX) Template
 
More clues..

i've eliminated the following:
It's not the export_orders.php or .tpl files
It exports as it should if I use any stock XC skin. reboot skin somehow adds line feeds (\n) after my country and zip code fields. So its adding 4 line feeds per record (one billing country/zip, and one shipping country/zip). Same place every record.

Any ideas what to look for and where? Has to be a file overriding a common in the skin folder.

PhilJ 01-29-2021 05:31 AM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
@Doug, orders export new lines issue fix is attached - /skin/reboot/main/zipcode.tpl

Dougrun 01-29-2021 06:44 AM

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

Originally Posted by PhilJ
@Doug, orders export new lines issue fix is attached - /skin/reboot/main/zipcode.tpl





Nice needle in a haystack finding!

Dougrun 01-29-2021 11:48 AM

Re: X-Cart reBOOT (reDUX) Template
 
is there any way to force the grid view to be the default view.

PhilJ 01-29-2021 11:51 AM

Re: X-Cart reBOOT (reDUX) Template
 
Grid view is the default anyway, but it's in Template Settings > Catalog > "Products default view"

Dougrun 01-29-2021 12:26 PM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
no matter what setting i choose for Subheader heading size,

the font never changes, alignment doesnt change either. Its super big.

PhilJ 01-30-2021 02:03 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Doug, that's not a subheader, that's a dialog. I've added a new setting that allows you to make all dialog title font sizes common (heading tags are preserved for SEO) - changelog.

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 02:14 AM.

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