jhande Posted October 5, 2009 Posted October 5, 2009 I changed the title in the box header to - "Recent Arrivals". On the home page it displays a random 6 products from all categories, which is fine. The "more" link takes you to a page which displays all recent arrivals from the past 30 days, which is fine. On a category or sub-category page it displays a random 6 products from the current category or sub-category, that's fine too. Wifes issue: The "more" link takes you to a page which displays all recent arrivals from the past 30 days. She wants instead: The "more" link to take you to a page which displays only recent arrivals in that category or sub-category from the past 30 days. I told her I don't think that's possible. Is it? If so, how? She's driving me nuts. I'll be back with a few more of her brillant ideas once my foggy brain clears. - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
♥FWR Media Posted October 5, 2009 Posted October 5, 2009 I changed the title in the box header to - "Recent Arrivals". On the home page it displays a random 6 products from all categories, which is fine. The "more" link takes you to a page which displays all recent arrivals from the past 30 days, which is fine. On a category or sub-category page it displays a random 6 products from the current category or sub-category, that's fine too. Wifes issue: The "more" link takes you to a page which displays all recent arrivals from the past 30 days. She wants instead: The "more" link to take you to a page which displays only recent arrivals in that category or sub-category from the past 30 days. I told her I don't think that's possible. Is it? If so, how? She's driving me nuts. I'll be back with a few more of her brillant ideas once my foggy brain clears. Why isn't it possible? Unless I'm missing something currently you have .. More = all recent arrivals you want .. More = all recent arrivals WHERE categories_id = X What's the issue? Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
FIMBLE Posted October 5, 2009 Posted October 5, 2009 Hi Jim I would imagine there is a contribution for this somewhere. OR there is a contribution that adds a "NEW" image to new products this might save you. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
burt Posted October 5, 2009 Posted October 5, 2009 I dont understan the question - can you show an example? Sounds like you want to limit the new products box to a per category basis and a 30 day limit?
jhande Posted October 6, 2009 Author Posted October 6, 2009 Thanks for the reply guys. Let me try to explain better. The what's new infobox performs just fine. It's the results on the products_new.php page my wife whats changed. I quess more along the lines of what Robert mentioned. index.php page more link = (products_new.php) all categories category or sub-category page, more link = (products_new.php) only the current category (or sub-category). - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
jhande Posted October 7, 2009 Author Posted October 7, 2009 Why isn't it possible? Unless I'm missing something currently you have .. More = all recent arrivals you want .. More = all recent arrivals WHERE categories_id = X What's the issue? Hi Robert, Could you possibly elaborate a bit more on how and where I can implement your suggestion? - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
♥FWR Media Posted October 7, 2009 Posted October 7, 2009 On a category or sub-category page it displays a random 6 products from the current category or sub-category, that's fine too. Good start as the script therefore knows the category id. She wants instead:The "more" link to take you to a page which displays only recent arrivals in that category or sub-category from the past 30 days. Ok so add to the more link the category id like ?more_cat=xxx On the display page check for $_GET['more_cat'] and if there add it to the query so that only products that are from that category are returned ( see products_to_categories table which you would need to JOIN ). Hope that helps. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
jhande Posted October 7, 2009 Author Posted October 7, 2009 Hope that helps. Thanks Robert, I'll check it out. - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Recommended Posts
Archived
This topic is now archived and is closed to further replies.