iAreku Posted May 31, 2014 Share Posted May 31, 2014 Does anyone know if there's a module that would add an extra "category" or link or something to list/display "SoldOut" items ONLY? Ie those that are no longer available for purchase but still kept online for SEO purposes? At the same time it conforms a "catalogue" of "antiques" as items sold retain their own "history" each. Hope I explained myself correctly. ThankS!! Link to comment Share on other sites More sharing options...
El Patron Posted June 1, 2014 Share Posted June 1, 2014 native PrestaShop is later versions (introduced in early 1.5) allows one the ability to 'disable' a product with handling of visits for disabled product. 404/301(permanent)/302(temporary) and you can point it at another product. http://screencast.com/t/qVtMIyHi Link to comment Share on other sites More sharing options...
iAreku Posted June 1, 2014 Author Share Posted June 1, 2014 Thanks patrón but I don't need redirects. I need a category to browse all sold-out items all together. Link to comment Share on other sites More sharing options...
vekia Posted June 1, 2014 Share Posted June 1, 2014 why not to just create category, and associate products that are "sold out" with this category? with module is not possible to create it, yo ucan only create mechanism that will associate sold products with this category. Link to comment Share on other sites More sharing options...
iAreku Posted June 1, 2014 Author Share Posted June 1, 2014 How would that be achieved? Manually every time? Link to comment Share on other sites More sharing options...
vekia Posted June 1, 2014 Share Posted June 1, 2014 without module: yes, manually. there are two ways to make it "automatic". 1) mysql trigger (you need an access to triggers geature in mysql) 2) module to associate product with that category (when someone will order this product) at the moment i don't know any module for this. Link to comment Share on other sites More sharing options...
iAreku Posted June 1, 2014 Author Share Posted June 1, 2014 (edited) OK ty very much!! SO i guess i could add an if statement somewhere so:if itemqty = xxx then sqlquery-to-update-assocciation-to-archive-category? Edited June 1, 2014 by iAreku (see edit history) Link to comment Share on other sites More sharing options...
iAreku Posted June 3, 2014 Author Share Posted June 3, 2014 (edited) Or basically, at the moment stock is reduced to 0 for a product, also at the same time send the query to update the associations and link it to the ARCHIVE category, right? clues on where to add it? Edited June 3, 2014 by iAreku (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts