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

X-Cart - Ultra - Responsive Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #71  
Old 07-12-2017, 03:14 AM
 
Freakmode Freakmode is offline
 

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

Default Re: X-Cart - Ultra - Responsive Template

Next stupid question - can we add "New Products" to the category side bar menu?

sidebar_category_menu.tpl

Thanks
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #72  
Old 07-12-2017, 05:54 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: X-Cart - Ultra - Responsive Template

Quote:
Originally Posted by Freakmode
Next stupid question
Hi Freakmode,
Don't think you are alone. I am on the same boat.
I am also asking too many foolish questions about Ultra & other than Ultra to Phil !

But he answers all questions without getting frustrated.

ULTRA ROCKS

Tip: For faster reply send him some nice songs links with every support question
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote

The following 2 users thank anandat for this useful post:
elmirage001 (07-12-2017), PhilJ (07-12-2017)
  #73  
Old 07-12-2017, 06:12 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart - Ultra - Responsive Template

Quote:
can we add "New Products" to the category side bar menu?
Sure, I've added the code for you in skin/ultra/custom/menus/sidebar_category_menu.tpl
Code:
<a class="list-group-item{if $main eq "new_arrivals"} active{/if}" href="new_arrivals.php" title="{$lng.lbl_new_arrivals}">{$lng.lbl_new_arrivals}</a>
If you prefer the link at the top, move the code before...
Code:
{foreach from=$categories_menu_list item=c name=categories}
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
Freakmode (07-12-2017)
  #74  
Old 07-12-2017, 11:57 PM
 
Freakmode Freakmode is offline
 

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

Default Re: X-Cart - Ultra - Responsive Template

Quote:
Originally Posted by PhilJ
Sure, I've added the code for you in skin/ultra/custom/menus/sidebar_category_menu.tpl
Code:
<a class="list-group-item{if $main eq "new_arrivals"} active{/if}" href="new_arrivals.php" title="{$lng.lbl_new_arrivals}">{$lng.lbl_new_arrivals}</a>
If you prefer the link at the top, move the code before...
Code:
{foreach from=$categories_menu_list item=c name=categories}

Thanks Phil, you are a true gent.
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #75  
Old 07-12-2017, 11:59 PM
 
Freakmode Freakmode is offline
 

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

Default Re: X-Cart - Ultra - Responsive Template

Quote:
Originally Posted by anandat
Hi Freakmode,
Don't think you are alone. I am on the same boat.
I am also asking too many foolish questions about Ultra & other than Ultra to Phil !

But he answers all questions without getting frustrated.

ULTRA ROCKS

Tip: For faster reply send him some nice songs links with every support question

He has been a true star with me and my daft questions.

And yes he does love a good Youtube music link - he listens to a massive diverse range of tunes. (but I have heard that Haircut 100 - Favourite Shirts is he personal favourite)
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote

The following 2 users thank Freakmode for this useful post:
elmirage001 (07-13-2017), ITVV (07-13-2017)
  #76  
Old 08-03-2017, 01:39 AM
 
Eyeglasses Expert Eyeglasses Expert is offline
 

eXpert
  
Join Date: May 2010
Posts: 307
 

Default Re: X-Cart - Ultra - Responsive Template

HI, PhilJ, when will you issue the stable version, pls?
Reply With Quote
  #77  
Old 08-03-2017, 05:16 AM
 
Freakmode Freakmode is offline
 

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

Default Re: X-Cart - Ultra - Responsive Template

Hey Phil
Is there any way to tailor how the search function works - ie can we only have it search Product Titles.

Cheers
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #78  
Old 08-03-2017, 05:25 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart - Ultra - Responsive Template

Quote:
Is there any way to tailor how the search function works - ie can we only have it search Product Titles.
Sure, in...

skin/ultra/custom/header/header_search.tpl
skin/ultra/custom/header/header_search_middle.tpl

Replace...
Code:
<input type="hidden" name="simple_search" value="Y"> <input type="hidden" name="mode" value="search"> <input type="hidden" name="posted_data[by_title]" value="Y"> <input type="hidden" name="posted_data[by_descr]" value="Y"> <input type="hidden" name="posted_data[by_sku]" value="Y"> <input type="hidden" name="posted_data[search_in_subcategories]" value="Y"> <input type="hidden" name="posted_data[including]" value="all">
With just...
Code:
<input type="hidden" name="mode" value="search"> <input type="hidden" name="posted_data[by_title]" value="Y">
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
Freakmode (08-03-2017)
  #79  
Old 08-03-2017, 05:36 AM
 
Freakmode Freakmode is offline
 

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

Default Re: X-Cart - Ultra - Responsive Template

Thanks Phil you are a star - did you get anywhere with the line up issue in Refine Filters?

David
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #80  
Old 08-03-2017, 05:46 AM
 
Freakmode Freakmode is offline
 

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

Default Re: X-Cart - Ultra - Responsive Template

Quote:
Originally Posted by PhilJ
Sure, in...

skin/ultra/custom/header/header_search.tpl
skin/ultra/custom/header/header_search_middle.tpl

Replace...
Code:
<input type="hidden" name="simple_search" value="Y"> <input type="hidden" name="mode" value="search"> <input type="hidden" name="posted_data[by_title]" value="Y"> <input type="hidden" name="posted_data[by_descr]" value="Y"> <input type="hidden" name="posted_data[by_sku]" value="Y"> <input type="hidden" name="posted_data[search_in_subcategories]" value="Y"> <input type="hidden" name="posted_data[including]" value="all">
With just...
Code:
<input type="hidden" name="mode" value="search"> <input type="hidden" name="posted_data[by_title]" value="Y">

This almost works well but it only shows "exact matches" is there a switch for "all words"
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote

The following user thanks Freakmode for this useful post:
Mr. G (10-22-2017)
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 11:05 PM.

   

 
X-Cart forums © 2001-2020