Re: Newest Products
http://forum.x-cart.com/showthread.php?t=1084&page=9 ...... post #90 through about 110
|
Re: Newest Products
Quote:
JWait this is your baby and thanks for your reply. I'm using the zip file from post #185. I have already followed all those instructions to the letter, checked and rechecked code additions, position, spelling, and file location. It's really all pretty straight forward. That's the easy part. I'm almost there. Here lies the root of my problem. Cleared cache, re-booted PC and continue to get blank page calling newsproducts.php. My post #238 was specific to instructions for Edit $xcart_dir/include/func/func.product.php. Store ver. 4.0.17 is not structured that way. File does not exist to edit. I wrote what I did to remedy for my version in this instance and requested feed back for that action. I wrote I have already searched for an answer to that concern throughout the thread, but could not find any references to mysql function edit for 4.0.17. It could be a combination of incompatible template coding in newproducts.tpl and mysql query functions for the version. I just don't know at this point. |
Re: Newest Products
1 Attachment(s)
This is not "my baby" but it is a mod that I find necessary to business, and think it should be a part of x-cart by default.
The zip from post #185 is for version 4.1.x (the "Edit $xcart_dir/include/func/func.product.php" is a dead giveaway as it doesn't exist in versions other than 4.1.x) and from my original notes I don't see where any php files are modified anyway. I have attached the files I used for version 4.0.x (probably version 4.0.19) for you to compare. As I said before this is a old thread, and it has gone through several version of x-cart that are different from one another, so you will have to find where the discussion pertains to your version. To make matters worse, there are 2 distinctly different mods that pertain to new products, making it difficult if you do a search of this forum. The posts in the thread at http://forum.x-cart.com/showthread.php?t=1084&page=9 ...... post #90 through about 110 appear to deal with your specific version, and would probably be a good starting point. |
Re: Newest Products
Thank you for the attachment. I agree the mod shoud definately be inherent in the cart package. Sorry if you were offended by the "baby" reference. It was a show of respect honoring your zip file contribution. I'll give the attached 4.0.x zip a try.
|
Re: Newest Products
1 Attachment(s)
Okay. I overwrite newproducts.php file offered for 4.0.x and called it. newproducts.tpl works now and Ive added products in last 3, 7 & 30 days that don't show. Says no new products and got top of page debug error:
Quote:
Thanks. |
Re: Newest Products
Did you try clearing the variable templates cache?
|
Re: Newest Products
3 Attachment(s)
Quote:
Thanks again for your reply. Yes. I did that today. Cache now contains 0 files so it's clean. Still have INVALID SQL: 0 : pointing to a SELECT COUNT query failure performing FROM, WHERE, AND... top of page and returning "No new products have been listed within timeframe you specified". Seems to me the query string needs tweaking in this instance. Probably as plain as the nose on my face, but I can't figure it out even with a clear head. Backtrace : /include/func.php:121 /include/func.php:80 /newproducts.php:143 /newproducts.php:237 See Screenshot |
Re: Newest Products
Hi,
I'm using the version that provided the zip :newproducts4-1-x Problem: Whenever I do an inventory update of existing items (price, stock,etc) using the import function of X-cart, the add date changes. With the add date changing, the newproducts mod thinks the old item is a new one causing it to pull up every single item when I just wanted the newest products to show. Anyone else have this problem? |
Re: Newest Products
Betty, I'm no sql expert, but this (from your error report) looks strange to me...
"... AND (xcart_pricing.membership='' OR xcart_pricing.membership='')...". Shouldn't the =" actually be ="", or maybe it is just 2 single ' together. |
Re: Newest Products
Is there a way to limit the number of new products per manufacturer or provder that shows up on the newest products first page?
Thank you for any help |
Re: Newest Products
Hi all8)
Once again, I need your help!! I am trying to add this mod in my store where I use x cart 4.1.11 version. I have downloaded post #185 in this thread. I opened install instructions: Quote:
And....... I stopped at step 5 of these instructions.:( It is my first experience with x cart; therefore, excuse-me if step 5 may seem obvious to you and makes my doubt seem too silly :roll: Could anyone help me and clarify me better where I should add this link and which is correct location for it ? Please!! Thank you all in advance !! |
Re: Newest Products
Well, I put my "new products" link in the speed bar. I also added one below "Gift Certificates" in the section that I renamed "Gift Ideas" (I forget what the default title is.."special", I think), but that involves adding code to the template.
|
Re: Newest Products
Where do you want it on you site ? Can't help you unless we know where you want the link shown. : )
|
Re: Newest Products
Quote:
I want in store front, below of welcome http://www.divinescrap.com/store/home.php Thank you for help |
Re: Newest Products
Quote:
File location: skin1/customer/main/welcome.tpl Cheers, Robert |
Re: Newest Products
Quote:
How to I put the link in step 5 in skin1/customer/main/welcome.tpl? This is my welcome .tpl below Quote:
Thank you for your help:oops: |
Re: Newest Products
Quote:
It's up to you were you would like to put it, but try this to get you started... Code:
{* $Id: welcome.tpl,v 1.28.2.3 2008/07/15 12:07:40 ferz Exp $ *} Robert |
Re: Newest Products
Quote:
Thank you for your try and help. But it did not worked. Only the link .php was displayed in welcome. Anyway I thank you very much for your attention.:wink: Cheers Faf |
Re: Newest Products
Hey Faf,
I don't use this particular free mod, but I use a paid version instead, so I can't really check it out for you, but you must be missing one of the steps... Especially verify STEP 3: Copy newproducts.php file to {xcart_dir}/ Example: /store/newproducts.php And Verify STEP 5: Edit: store/skin1/customer/home_main.php {elseif $main eq "newproducts"} {include file="customer/main/newproducts.tpl"} {else} {include file="common_templates.tpl"} {/if} Good Luck! Robert |
Re: Newest Products
This free mod allow a link on your site to navigate to the newproducts page. The paid version put the products on your home page
|
Re: Newest Products
Sidebar from the latest discussion.....
So I have this mod installed and is working fine with one exception. If I have a product with market price (not the price we are actually selling it for) the market price and the discount (our price vs market price) is not displayed. For example if on the home page I have a featured product we are selling for $10 dollars with a market price of $20 dollars the selling price of $10, the market price of $20 and a discount of 50% is displayed. However, if the same product is displayed using this mod on the new products page only the $10 price is displayed. The newest product mod calls all the same templates the featured products and all other category pages call (products.tpl or products_t.tpl) but the output is not the same. After having parsed through all of the nested template calls I have narrowed it down to a conditional evaluation in products_t.tpl. Quote:
The problem here is the Quote:
Quote:
Since the Quote:
Since this mod initates the page display from the same template path, customer/home.tpl, and some of the variables are available from the product object ... why does the particular ".list_price" variable (list / market price) not return its' value? Any ideas? Anyone else have this problem? |
Re: Newest Products
I tried making a new product with a higher market price and as you said the market price did not display. The selling price did however. I think no one has experienced this problem because the items included are new items and not usually on sale lower than the initial price set when they were added.
|
Re: Newest Products
Well that is a good confirmation that the "problem" extends beyond just our setup. I still have not made any break throughs as to why $products[product].list_price doesn't return its value...
|
Re: Newest Products
Is it possible to have this run in a column on a page ouside of xcart?
I would like to have column in our community that shows our new products. Thank you in advance |
Re: Newest Products
Is there somewhere that sells this modification that I could have it installed. I am not experienced enough to tinker around with coding etc and would be more interested in paying someone. I looked through a few online stores and couldn't find anything. Any thoughts or direction are appreciated.
Thanks Chris |
Re: Newest Products
I PM you Chris
|
Re: Newest Products
Quote:
I use the Firetank Sofware version of this MOD and have been very pleased with it. It is fairly simple to install by oneself, but if you want, they can install it for you for an additional $19.95. Check it out here: Newest Added products list for x-cart http://www.firetanksoftware.com/fts/customer/Newest-Added-products-list-for-x-cart-pid-79.html Robert |
Re: Newest Products
Such a quick forum I love it. Thank you. I am preparing my budget for site development in the beginning of next year. This has been helpful.
Thanks Chris |
Re: Newest Products
Robertswww, just out of curiosity, since you are you using the Firetank Sofware version of this MOD do you have any errors on the product pages if Recommended Products is enabled?
|
Re: Newest Products
Firetank mod has no effect on product pages as his mod is for your home page
|
Re: Newest Products
I don't see it on your home page.
|
Re: Newest Products
Quote:
We do have the Recommended Products Module enabled, and the list displays properly on our Detailed Product Pages (have not seen any errors). There doesn't appear to be any conflict with the Firetank Newest Products MOD and Recommended Products, at least not on our site. Robert |
Re: Newest Products
Thanks robertswww.
|
Re: Newest Products
Hi All,
I've tried using the zip file mod with 4.2 to display newest prods on my homepage and thought it was working, but it appears it only displays the products that are defined as "featured products" for some reason. Is this a known issue? |
Re: Newest Products
Featured products are displayed by default. Do you actually have any new products? If you do not, then that is probably why featured products is displayed.
|
Re: Newest Products
Anyone by chance happen to get this mod (post #185 version and X-cart 4.1.9) working with the altered cart On Sale module? More specifically, getting the products that are on sale to show the sale price?
The newproducts mod works but does not show the sale price. I've played around with it but haven't had any so far. |
Re: Newest Products
I still can't find the home.php file
Can someone post step by stop and files location. Thanks! |
Re: Newest Products
Anyone know where the home.php located?
|
Re: Newest Products
Quote:
Its in your root directory; xcart/home.php Not really following this thread but be aware that their is also a home.tpl in your /xcartl/skin1/customer/home.tpl Hope it helps. |
Re: Newest Products
Does this work yet for version 4.2 ? Would be nice addition if at all possible.
|
All times are GMT -8. The time now is 10:13 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.