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

Newest Products
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #121  
Old 01-13-2006, 05:06 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default

Is there any way to get this mod to mimic the Featured Products? I have products listed single file in the Sub-Categories pages, but in 3 columns in the Featured Products, and have Featured Products in just about every Category. I would like this mod to resemble a Category page (3 columns), and not a Sub-Category (1 column) page like it does now.... does this make sense?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #122  
Old 03-03-2006, 11:56 PM
 
SmartAss SmartAss is offline
 

Newbie
  
Join Date: Mar 2006
Posts: 1
 

Default Help!

I followed the instructions at the beginning of this thread to add new items section, and I get a new products box, with no products in it at all...Any ideas.

you can view my site at: www.smartassclothing.com/store/home.php

Your help is greatly appreciated.
__________________
SmartAssClothing.com
Reply With Quote
  #123  
Old 03-14-2006, 09:40 AM
 
24md 24md is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: United Kingdom
Posts: 44
 

Default

Hi

I have this mod working well, only one query.

Recently we have added a wholesale membership level and it's now picking up products with the wholesale membership price.

How can I limit the mod to only displaying products from a certain membership level, or more importantly their normal price when not associated to any level.

I saw this question earlier in this thread but couldn't see an answer. Any help would be much appreciated.

Thanks
__________________
www.anime-on-line.com
4.5.2 (live)
php 5.3.17
mysql 5.5.27
Reply With Quote
  #124  
Old 03-20-2006, 01:33 PM
  cliffo4's Avatar 
cliffo4 cliffo4 is offline
 

Member
  
Join Date: Jul 2005
Location: Leicester, UK
Posts: 19
 

Default Re: New Products page

Quote:
Originally Posted by lapidarist
This is my first xcart add-on. I wrote some code to show New Products on its own page.
Firstly I thankyou for this full and useful code - with a few mods to it have combined in ito our seltup nicely.

However - there is a small bug in the php code

The line near bottom that reads:

Code:
$smarty->assign("navigation_script","newproducts.php?days=$days&sortby=$sortby&sort_direction=".$sortdirection);

should be:

Code:
$smarty->assign("navigation_script","newproducts.php?days=$days&sortby=$sortby&sortdirection=".$sortdirection);
That is take the underscore in sort_direction out

This manifests itself when you use the sort by links and then try and use the page navigation numbers as it fails to set the correct direction properly.

Hope that is of use to others too.
__________________
X-Cart Gold 4.0.19
http://interstellarsounds.com
Reply With Quote
  #125  
Old 03-25-2006, 07:40 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default

Can somebody post the completely correct code and steps here for this mod? Trying to figure which page, etc is making my head hurt...
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #126  
Old 03-25-2006, 07:53 AM
  cliffo4's Avatar 
cliffo4 cliffo4 is offline
 

Member
  
Join Date: Jul 2005
Location: Leicester, UK
Posts: 19
 

Default

Quote:
Originally Posted by Vacman
Can somebody post the completely correct code and steps here for this mod? Trying to figure which page, etc is making my head hurt...

goto http://forum.x-cart.com/viewtopic.php?p=107474#107474 and then correct the line in the php as I described before
Reply With Quote
  #127  
Old 03-25-2006, 08:26 AM
 
lapidarist lapidarist is offline
 

Advanced Member
  
Join Date: Apr 2003
Location: Hot Springs, Arkansas
Posts: 34
 

Default

Quote:
Originally Posted by cliffo4
Quote:
Originally Posted by Vacman
Can somebody post the completely correct code and steps here for this mod? Trying to figure which page, etc is making my head hurt...

goto http://forum.x-cart.com/viewtopic.php?p=107474#107474 and then correct the line in the php as I described before

Thanks for the fix. I have been very busy trying to make a living lately, so I haven't had much time to keep up with the forum.

- james -
__________________
X-Cart Gold Plus 4.5.4
X-PDF 4.5.3
X-Payments 1.05
CDSEO Pro 1.8.7
WebsiteCM Product Map 2.0.1
WebsiteCM Next-Prev 1.3 disabled because of SQL errors and bugs.
Reply With Quote
  #128  
Old 03-25-2006, 08:25 PM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default

OK did the above instruction, fixed the error, but now I get this:

Page not found!
The requested page does not exist or you are not allowed to access it!

What have i done wrong?

BTW: http://www.vacsew.com/xcart/newproducts.php
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #129  
Old 03-25-2006, 10:24 PM
 
Lionel Lionel is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 199
 

Default

go back and read the second post on page 8
__________________
X-Cart Gold 4.0.17 [unix]
X-Cart Gold 4.0.18 [unix]
Reply With Quote
  #130  
Old 03-26-2006, 12:38 AM
  cliffo4's Avatar 
cliffo4 cliffo4 is offline
 

Member
  
Join Date: Jul 2005
Location: Leicester, UK
Posts: 19
 

Default

Quote:
Originally Posted by Vacman
OK did the above instruction, fixed the error, but now I get this:

Page not found!
The requested page does not exist or you are not allowed to access it!
The error you show tends to happen because the page paramateres that have been set for the templates is not included in the home_main.tpl file So:

Quote:
1) You need to edit {xcart_dir}/skin1/customer/home_main.tpl

Add the following lines before the {else} at bottom of file:

Code:
{elseif $main eq "newproducts"} {include file="customer/main/newproducts.tpl"}
So Adjust that and you should be ok.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


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 04:51 PM.

   

 
X-Cart forums © 2001-2018