| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Newest Products | ||||
|
|
Thread Tools | Search this Thread |
#201
|
|||||||
|
|||||||
Re: Newest Products
The Newest Items is a custom mod and the shop by price features already exist under Advance Search. Im sure you can enhance the search by price. Can you send me a PM of your URL.
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#202
|
|||||||||
|
|||||||||
Re: Newest Products
Hi,
This post seems so simple but I just can't get it right. I don't want the new products to be called from a link in the lhs (i.e. VertMenuLeftColumn). I would like the new products to display in the main content area. I thought if I add the following include to my home.php that everything would be sweet:- include "./newproducts.php"; This is a small chunk of my home.php file:- // WCM - CDSEO Links include $xcart_dir."/modules/cdseolinks/cdseo_cat.php"; require $xcart_dir."/include/categories.php"; if ($active_modules["Manufacturers"]) include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php"; if (!empty($cat)) include "./products.php"; if (empty($products)) include "./featured_products.php"; include "./newproducts.php"; if ($active_modules["Bestsellers"]) include $xcart_dir."/modules/Bestsellers/bestsellers.php"; My home_main.tpl looks like this at the bottom:- {elseif $main eq "newproducts"} {include file="customer/main/newproducts.tpl"} {else} {include file="common_templates.tpl"} {/if} What I get is a blank white page. I haven't changed any of the new files, so I must be doing something wrong. Can someone put me on the right path?
__________________
X-CART 4.1.8 (Add-Ons: onSale, CDSEO, AOM, Thickbox) PHP 4.4.4 SQL 4.1.21 Linux O/S |
|||||||||
#203
|
|||||||||
|
|||||||||
Re: Newest Products
I've installed this mod on v4.1.9 and it works fine except I can't get the Price: $XXX to display. Mod originally displayed "Enter Your Price" but I was able to find and remove the code for that. Any suggestions?
Thanks! UPDATE: Fixed it. Borrowed some code from products_t.tpl |
|||||||||
#204
|
|||||||
|
|||||||
Re: Newest Products
Great Mod, just getting into x-cart. Anyway can make a Buy Now button next to each item?
__________________
4.1.9 |
|||||||
#205
|
|||||||
|
|||||||
Re: Newest Products
Quote:
thanx so much. however, when i add this on my website, everything seems to work fine. the new products do show on the newproducts.php page... but they do not show on my home page. it just keeps showing: "Products added since: No new products have been listed within timeframe you specified " what did i do wrong?
__________________
Clement X-Cart 4.1.10 |
|||||||
#206
|
|||||||
|
|||||||
Re: Newest Products
Quote:
I followed your(Pavant's) codes posted #186, it works fine except one thing. It shows the products alphabetical order, not by newest. I have 4.1.9 xcart. Could you help me what is wrong with this? Or anybody help me? Thank you.
__________________
x-cart gold 4.1.9 |
|||||||
#207
|
|||||||||
|
|||||||||
Re: Newest Products
I would love help on this also. I'm running x-cart pro 4.1.9.
Can someone help? Thank you!
__________________
Joli Kirk, "Life is not measured by the number of breaths we take, but by the number of moments that take our breath away" X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5 AlteredCart.com - Download Expander; Product Page Downloads BCSEngineering.com - On Sale Products; Newest Added Products |
|||||||||
#208
|
|||||||||
|
|||||||||
Re: Newest Products
I like to modify the code such that I can display entire category in front page.
Anyone knows how to do it? Quote:
__________________
Yamiya Yam http://www.yamiya.com.my --------------------------------------- X-Cart Gold v4.1.8 (UNIX) |
|||||||||
#209
|
|||||||
|
|||||||
Re: Newest Products
I have John C's version running, but now I'm getting SQL errors 1064, where it looks like there may be a security issue through newproducts.php? Anyone know what I can add to fix it? I tried what was suggested for the other new products mods, but that didn't work.
__________________
xcart Gold Ver. 4.1.9 |
|||||||
#210
|
|||||||||
|
|||||||||
Re: Newest Products
I am getting the same MySQL error message. Can anyone help? It would be appreciated!
__________________
Joli Kirk, "Life is not measured by the number of breaths we take, but by the number of moments that take our breath away" X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5 AlteredCart.com - Download Expander; Product Page Downloads BCSEngineering.com - On Sale Products; Newest Added Products |
|||||||||
|
|||
X-Cart forums © 2001-2020
|