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 02-23-2021 03:19 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Sinobest, that's already been addressed. Use the recommended root robots.txt file and upload the new /skin/reboot/customer/main/product_quickview_btn.tpl

Use the Google URL removal tool for duplicate URLs.

PhilJ 02-23-2021 04:42 AM

Re: X-Cart reBOOT (reDUX) Template
 
CDSEO users, use this alternative breadcrumbs code in /skin/reboot/customer/bread_crumbs_desktop.tpl
Code:

<ol class="breadcrumb p-0 border-0 rounded-0 d-none d-lg-block" itemscope itemtype="https://schema.org/BreadcrumbList">
{foreach from=$location item=l name=location}
<li class="breadcrumb-item text-{$config.Reboot.reboot_breadcrumb_text_colour|default:'dark'}" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><a itemprop="item" href="{if $smarty.foreach.location.first}{$current_location}{else}{if !$smarty.foreach.location.last}{$l.1|amp}{else}//{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}{/if}{/if}"><span itemprop="name">{if $smarty.foreach.location.first}<i class="fa fa-home fa-fw" aria-hidden="true"></i>{$config.Company.company_name|amp}{*{$lng.lbl_site_path}*}{else}{$l.0|amp}{/if}</span></a><meta itemprop="position" content="{$smarty.foreach.location.iteration}" /></li>
{/foreach}
</ol>

Then comment out, or delete the breadcrumbs JSON-LD code section in /skin/reboot/custom/json_ld.tpl

peggyr 02-25-2021 02:20 PM

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

What redux template parameter for 4.7.12.4 controls, the number of 'columns' for the Home Page with Featured Categories?

My test server 4.7.12.4 link has 4 columns on a full PC 15" screen window

My live 4.7.12.2 site, has 2 columns.

I've tried to identify the parm from inspecting elements from both urls for the Live and Development site, attached.

Thanks for any ideas

Peggy

PhilJ 02-26-2021 01:47 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Peggy, look in /skin/reboot/customer/featured_items.tpl

You need to tweak the columns around line 20
Code:

{if $descr eq "Y"}
    {assign var="cols" value="col-12 col-sm-6 col-md-6 col-lg-6 col-xl-{if $config.Reboot.reboot_main_container eq 'fluid'}{if $has_sidebar}6{else}6{/if}{else}{if $has_sidebar}6{else}6{/if}{/if}"}

Bootstrap grid uses 12 columns per row, so
col-x-12 = 1 column
col-x-6 = 2 columns
col-x-4 = 3 columns
col-x-3 = 4 columns

PhilJ 02-26-2021 06:51 AM

Re: X-Cart reBOOT (reDUX) Template
 
'Easy Custom Contact Forms' are coming back to reDUX! ... working on it over the weekend.

In the meantime, just made this category enquiry form widget if anyone's interested...

https://xcartmods.com/redux4712/category-checklist.html

peggyr 02-26-2021 09:37 AM

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

Is there a reason that

featured_items.tpl, around line 20 was

In 4.7.12.2

{if $descr eq "N"}

and then

4.7.12.4

{if $descr eq "Y"}

THanks

PhilJ 02-26-2021 11:25 AM

Re: X-Cart reBOOT (reDUX) Template
 
Not sure/can't remember Peggy, makes no difference anyway, same logic, just in reverse.

Feel free to drop by live chat if you want me to fix anything for you.

peggyr 02-26-2021 12:11 PM

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

Thanks for fixing.

I will be testing 4.7.12.4 on my dev store and plan to cut over to live store from 4.7.12.2 to 4.7.12.4 next weekend


Peggy

elmirage001 02-26-2021 01:16 PM

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

Originally Posted by PhilJ
'Easy Custom Contact Forms' are coming back to reDUX! ... working on it over the weekend.


Perfect timing Phil! I'm just about at Forms on my reBOOT to reDUX conversion.

Thank you so much!

Paul

ITVV 02-28-2021 06:45 AM

Re: X-Cart reBOOT (reDUX) Template
 
Moved from Dev Server to Production Server images missing in Admin

Hi all,

Please forgive this off topic message but I am banging my head on the desk ](*,)

I have moved from our dev server to our production server and images such as Product image and Thumbnails are missing in the admin panel 8O

If I try to replace them I can see that they have uploaded and the database has updated but still not showing in admin :roll:

Manufacture images are also not showing in the front or back-end :(

I have updated everything; config.php database, $xcart_http_host, $xcart_https_host, $xcart_web_dir etc.

Updated .htaccess for Clean URLs and they are all working.

If I right-click on a missing manufactures logo image in the front end and click on “View Image Info” and select an image I get: -

https://www.mywebsite.com/image.php?type=M&id=1

If I browse to this I get: -

The image “https://www.mywebsite.com/image.php?type=M&id=1” cannot be displayed, because it contains errors 8O

Everything is working except the images.

Anyone know what I have missed :?

Many thanks in advance for any kind help

Kind regards

ITVV


All times are GMT -8. The time now is 12:10 AM.

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