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 - Responsive Template (https://forum.x-cart.com/showthread.php?t=66570)

PhilJ 10-27-2016 09:44 AM

Re: X-Cart - reBOOT - Responsive Template
 
Michael, in skin/reboot/customer/main/search_sort_by.tpl

Replace...
Code:

    <option{if $name eq $selected && $sort_direction eq 0} selected="selected"{/if} value="{$url}&amp;sort={$name|amp}&amp;sort_direction=0" class="sort_asc">{$field} &uarr;</option>
    <option{if $name eq $selected && $sort_direction eq 1} selected="selected"{/if} value="{$url}&amp;sort={$name|amp}&amp;sort_direction=1" class="sort_desc">{$field} &darr;</option>

With...
Code:

    <option{if $smarty.get.sort eq $name && $smarty.get.sort_direction eq 0} selected="selected"{/if} value="{$url}&amp;sort={$name|amp}&amp;sort_direction=0" class="sort_asc">{$field} &uarr;</option>
    <option{if $smarty.get.sort eq $name && $smarty.get.sort_direction eq 1} selected="selected"{/if} value="{$url}&amp;sort={$name|amp}&amp;sort_direction=1" class="sort_desc">{$field} &darr;</option>

This works for me, try the demo. Thanks for reporting.

dpcompany 10-27-2016 10:44 AM

Re: X-Cart - reBOOT - Responsive Template
 
Phil,

Works for me too, thanks for the quick fix!

TA 12-13-2016 08:08 AM

Re: X-Cart - reBOOT - Responsive Template
 
Quote:

Originally Posted by PhilJ
If your store is not passing the Google 'Mobile Friendliness' test, ensure this setting is unchecked...

Misc > "Allow zoom / pinch on mobile devices"


Thanks Phil!

PhilJ 01-31-2017 05:37 AM

Re: X-Cart - reBOOT - Responsive Template
 
31st January 2017 - v4.7.7
  • Updated for X-Cart v4.7.7
  • Blog addon tested with Wordpress v4.7.2
  • Smarty code can now be added to the blog sidebar
  • Minor tweaks and improvements

dpcompany 04-05-2017 10:52 AM

Re: X-Cart - reBOOT - Responsive Template
 
Quick question regarding the Tabs on the homepage for "New Arrivals", "Featured Products", etc... I was wanting to add a tab for "Bestsellers" and have the products be displayed in the products_t.tpl like the other products in that tab group. However, whenever I try to do this, there are no "add to cart" buttons. Does anybody know how to have the bestsellers included in this tab group and have them display like the other products in the tab group?

Thank you!

dpcompany 04-05-2017 11:31 AM

Re: X-Cart - reBOOT - Responsive Template
 
One other thing, accordions that are open will only allow you to fully collapse them once. If you reopen the accordion, you can no longer collapse it. You can see this at http://xcartmods.com/reboot477/Widgets.html#*. In addition, the shortcodes page has something wrong with it that is causing it automatically scroll to the bottom.

Thanks!

Raptor 04-11-2017 07:51 AM

Re: X-Cart - reBOOT - Responsive Template
 
I need to upgrade my template :)

PhilJ 04-12-2017 05:37 PM

Re: X-Cart - reBOOT - Responsive Template
 
Quote:

Quick question regarding the Tabs on the homepage for "New Arrivals", "Featured Products", etc... I was wanting to add a tab for "Bestsellers" and have the products be displayed in the products_t.tpl like the other products in that tab group. However, whenever I try to do this, there are no "add to cart" buttons.
$bestsellers array doesn't contain all the data that $products / $new_arrivals / $on_sale does (bestsellers are usually just meant for the sidebar).

It would require some SQL query mods to get working, but you could hard-code an add to cart button for now.

Or, put a 'Quick View' button... Get in touch and I'll help.
Quote:

One other thing, accordions that are open will only allow you to fully collapse them once. If you reopen the accordion, you can no longer collapse it. You can see this at http://xcartmods.com/reboot477/Widgets.html#*. In addition, the shortcodes page has something wrong with it that is causing it automatically scroll to the bottom.
I don't see accordions on that page, but there's some here (Toggle Panel Groups). There's more info about Bootstrap accordions here.
Quote:

I need to upgrade my template :smile:
Get in touch Paul !

dpcompany 04-13-2017 06:11 AM

Re: X-Cart - reBOOT - Responsive Template
 
Phil,

I'll get in touch with you about the $bestsellers array, thank you for this.

I should have been more specific about the accordions I am talking about. They are actually the responsive tabs on your http://xcartmods.com/reboot477/Widgets.html#* page, but when viewed on a mobile device, or by shrinking your screen under the breakpoint that changes responsive tabs to the accordions. Once you look at them, you will see what I am talking about. For instance, the "Tab 1" will initially be open. So, you can click on it to close it. Once it is opened again however, it will not be able to be closed by just clicking on it. From that point forward, at least 1 tab has to be open, all of them cannot be closed.

Thanks Phil!

PhilJ 04-17-2017 05:06 AM

Re: X-Cart - reBOOT - Responsive Template
 
OK, reBOOT is due for an update.

Let me know what you want...


All times are GMT -8. The time now is 10:04 PM.

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