Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

X-Cart - reBOOT - Responsive Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #941  
Old 05-01-2015, 09:36 PM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by PhilJ
I don't think it's possible to share to Instagram in that way, ie. it's not supported by their API. Details (see info at bottom of page).

If you want to add Pinterest sharing, you can uncomment some code in skin/reboot/custom/product_sharing_buttons.tpl

Sorry I meant to say Pinterest not Instagram. Just spotted the commented out code.

Thanks again
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #942  
Old 05-04-2015, 07:27 AM
 
Bluemonk Bluemonk is offline
 

Advanced Member
  
Join Date: Apr 2010
Posts: 47
 

Default Re: X-Cart - reBOOT - Responsive Template

Hi Phil, I would like to remove some of the sort options in the category page. I would just like to display sort by price and sort by sales.

Also, I 'd like to change the word "sales" to "popularity".

Could you please let me know how to do this.

Using 4.7.1

Thank you
__________________
X-cart Gold V4.7, Ultra skin
Reply With Quote
  #943  
Old 05-07-2015, 02:03 AM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: X-Cart - reBOOT - Responsive Template

Is Phil on holiday this week?
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #944  
Old 05-07-2015, 02:15 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

I'm around, but am very busy working on reBOOT v4

I replied your ticket.
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
elmirage001 (05-07-2015)
  #945  
Old 05-07-2015, 02:27 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Hi Phil, I would like to remove some of the sort options in the category page. I would just like to display sort by price and sort by sales.

skin/reboot/customer/search_sort_by.tpl

Replace...

Code:
<option{if $smarty.get.sort eq $name && $smarty.get.sort_direction eq 0} selected="selected"{/if} value="{$http_location}/{$cur_url}sort={$name}&sort_direction=0" class="sort_asc">{$field} &uarr;</option>{* Ascending *} <option{if $smarty.get.sort eq $name && $smarty.get.sort_direction eq 1} selected="selected"{/if} value="{$http_location}/{$cur_url}sort={$name}&sort_direction=1" class="sort_desc">{$field} &darr;</option>{* Descending *}

With...

Code:
{if $field ne "Default" && $field ne "Product"} <option{if $smarty.get.sort eq $name && $smarty.get.sort_direction eq 0} selected="selected"{/if} value="{$http_location}/{$cur_url}sort={$name}&sort_direction=0" class="sort_asc">{$field} &uarr;</option>{* Ascending *} <option{if $smarty.get.sort eq $name && $smarty.get.sort_direction eq 1} selected="selected"{/if} value="{$http_location}/{$cur_url}sort={$name}&sort_direction=1" class="sort_desc">{$field} &darr;</option>{* Descending *} {/if}

Quote:
Also, I 'd like to change the word "sales" to "popularity".

/admin/languages.php?language=en&topic=&filter=lbl_sales
__________________
xcartmods.co.uk
Reply With Quote
  #946  
Old 05-07-2015, 05:53 AM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: X-Cart - reBOOT - Responsive Template

Is it possible to turn off the lazy loading of product images?
Mine seems to show the spinning for a little longer than they should.
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #947  
Old 05-07-2015, 05:54 AM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by PhilJ
I'm around, but am very busy working on reBOOT v4

I replied your ticket.

No rush on V4 still trying to master V3
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #948  
Old 05-07-2015, 06:03 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Is it possible to turn off the lazy loading of product images?
Not advisable, but if you want to, skin/reboot/product_thumbnail.tpl

Replace...

Code:
<img itemprop="image" class="lazy" {if $id ne ''} id="{$id}"{/if} {if !$notlazy} src="{$AltImagesDir}/spacer.gif"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} data-src="{else}src="{/if}
With...
Code:
<img itemprop="image" {if $id ne ''} id="{$id}"{/if} {if $image_x ne 0} width="{$image_x}" {/if}{if $image_y ne 0} height="{$image_y}" {/if}src="
There'll be lazy loading improvements in v4.
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
Freakmode (05-07-2015)
  #949  
Old 05-07-2015, 11:22 PM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: X-Cart - reBOOT - Responsive Template

Wow -cheers Phil
What a difference, it is now so quick to load.


Quote:
Originally Posted by PhilJ
Not advisable, but if you want to, skin/reboot/product_thumbnail.tpl

Replace...

Code:
<img itemprop="image" class="lazy" {if $id ne ''} id="{$id}"{/if} {if !$notlazy} src="{$AltImagesDir}/spacer.gif"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} data-src="{else}src="{/if}
With...
Code:
<img itemprop="image" {if $id ne ''} id="{$id}"{/if} {if $image_x ne 0} width="{$image_x}" {/if}{if $image_y ne 0} height="{$image_y}" {/if}src="
There'll be lazy loading improvements in v4.
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #950  
Old 05-08-2015, 07:03 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by Freakmode
Wow -cheers Phil
What a difference, it is now so quick to load.
Hi Freakmode, you might want to test to make sure your page load results have not been negatively affected.

In Google Chrome bring up your page and then right click to get to the Inspect Element choice. Click on Inspect Element then click on Network, and then click on the checkbox to Disable Cache.

Now click on the Google Chrome Reload this page icon and check your results. You should test with Lazy Load Off and then with Lazy Load On. I'm attaching my results just in case you've not used Inspect Element before. Please let us know what you get with lazy load on and off. Thank you!

lazy.jpg

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:51 PM.

   

 
X-Cart forums © 2001-2020