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

Manuf. Names/Cat. page/Offers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 07-29-2015, 05:08 PM
 
Zizilu Zizilu is offline
 

Member
  
Join Date: Mar 2013
Posts: 26
 

Exclamation Manuf. Names/Cat. page/Offers

Have a few questions, figured i'd put them in one threat

1. I want left bar to only show on home page and products page, how do I do that? all threads want the opposite lol

2. I want to create a page that would list all categories aside from the left bar, how do I do that?

3. I entered 4 offers with all texts and all active but only 3 of them show on my offers page "See all offers" :/ however when I click on offer image (on home page banner) it takes me to offers page showing only that offer. How can I show all offers text on offers page?

4. How do I make search show any word/manufacturer/cat/etc? for example, I enter a manufacturer name in search bar and it comes with no results

Many thanks
__________________
4.5.5
Reply With Quote
  #2  
Old 08-11-2015, 05:41 AM
  seyfin's Avatar 
seyfin seyfin is offline
 

X-Cart team
  
Join Date: May 2004
Posts: 1,223
 

Default Re: Manuf. Names/Cat. page/Offers

Quote:
Originally Posted by Zizilu
1. I want left bar to only show on home page and products page, how do I do that? all threads want the opposite lol

You can modify the code in this template file:

skin/ideal_responsive/customer/content.tpl

Code:
{if ($main neq 'cart' or $cart_empty) and $main neq 'checkout'} <div id="left-bar"> {include file="customer/left_bar.tpl"} </div> {/if}

You can change the code as follows:

Code:
{if $main eq 'product' or ($main eq 'catalog' and $cat eq 0)} <div id="left-bar"> {include file="customer/left_bar.tpl"} </div> {/if}

Basically, home page has $main set to 'catalog' and $cat set to 0, and all product pages have $main set to 'product'.
__________________
Sincerely yours,
Sergey Fomin
X-Cart team
Chief support group engineer

===

Check this out. Totally revamped X-Cart hosting
http://www.x-cart.com/hosting.html

Follow us:
https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart
Reply With Quote
  #3  
Old 08-11-2015, 05:44 AM
  seyfin's Avatar 
seyfin seyfin is offline
 

X-Cart team
  
Join Date: May 2004
Posts: 1,223
 

Default Re: Manuf. Names/Cat. page/Offers

Quote:
Originally Posted by Zizilu
2. I want to create a page that would list all categories aside from the left bar, how do I do that?

There is a good module that allows you to list all root categories on home page - X-Root categories.
__________________
Sincerely yours,
Sergey Fomin
X-Cart team
Chief support group engineer

===

Check this out. Totally revamped X-Cart hosting
http://www.x-cart.com/hosting.html

Follow us:
https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart
Reply With Quote
  #4  
Old 08-11-2015, 05:55 AM
  seyfin's Avatar 
seyfin seyfin is offline
 

X-Cart team
  
Join Date: May 2004
Posts: 1,223
 

Default Re: Manuf. Names/Cat. page/Offers

Quote:
Originally Posted by Zizilu
4. How do I make search show any word/manufacturer/cat/etc? for example, I enter a manufacturer name in search bar and it comes with no results

I believe this module will be a good solution for you - Cloud Search.
__________________
Sincerely yours,
Sergey Fomin
X-Cart team
Chief support group engineer

===

Check this out. Totally revamped X-Cart hosting
http://www.x-cart.com/hosting.html

Follow us:
https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart
Reply With Quote
  #5  
Old 08-11-2015, 06:16 AM
  seyfin's Avatar 
seyfin seyfin is offline
 

X-Cart team
  
Join Date: May 2004
Posts: 1,223
 

Default Re: Manuf. Names/Cat. page/Offers

Quote:
Originally Posted by Zizilu
3. I entered 4 offers with all texts and all active but only 3 of them show on my offers page "See all offers" :/ however when I click on offer image (on home page banner) it takes me to offers page showing only that offer. How can I show all offers text on offers page?

On your web-site, each offer image on home page banner links to one particular offer page, for example:

http://www.demosite.com/offers.php?mode=offer&offerid=1
http://www.demosite.com/offers.php?mode=offer&offerid=2
http://www.demosite.com/offers.php?mode=offer&offerid=3
http://www.demosite.com/offers.php?mode=offer&offerid=4

As for offers being displayed on the offers page (like http://www.demosite.com/offers.php), please check the following settings in your X-Cart admin back-end:

- General settings :: Special Offers :: Maximum number of offers in the list (at category and product pages)

By default, it is set to 3.
__________________
Sincerely yours,
Sergey Fomin
X-Cart team
Chief support group engineer

===

Check this out. Totally revamped X-Cart hosting
http://www.x-cart.com/hosting.html

Follow us:
https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:23 AM.

   

 
X-Cart forums © 2001-2020