gdinari 14 Posted December 6, 2012 Posted December 6, 2012 (edited) Recently, I have been searching for a recommended products module to add to my shopping cart to use as a tool to up-sell some of my products. After searching high and low, the solutions/modules I found were either outdated or paid, so I decided to come up with an alternate solution to show desired products in the shopping cart using the Featured Products module (homefeatured) as a base. This module will allow you list the products you want in a designated category that will show in the shopping cart. Because this is just a make-shift module solution there is one obvious limit: - You have to manually input the category id in the recommendedprods.php file of the module in order to list from the category you want. This my first module (and true contribution ) so I need some help adding a category select function to the module that way you wont have to manually input it and just pick it from some sort of list. In any event, the 1 line of code that needs to be changed is definitely worth it. Steps: 1. Download the attached file 2. Add the "recommendedprods" folder to your modules directory. 3. Go in the the modules section of the admin 4. Install "Recommended Products" 5. Set the desired product list number in module settings (default is 8) 6. Find the id of the category from which you want to list your recommended products. (In my case I created a new category only for recommended products. Something like "Up-sell" or "Recommended Products") *7. Take that id category and change the existing id number in line 112 of the recommendedprods.php Thats it! After that you can list as many products as you want, change the order listing (from within product listing). Now you can up-sell more products. Tested in: v.1.5.2 Improvements needed (help welcomed ): - To have a category select option with the module settings to avoid the manual input of the category id in the .php file. I hope this module is useful for someone. Please give feedback! recommendedprods.zip Edited December 9, 2012 by gdinari (see edit history) 9 Share this post Link to post Share on other sites
Rolige 449 Posted December 6, 2012 Posted December 6, 2012 screenshoot? Share this post Link to post Share on other sites
gdinari 14 Posted December 6, 2012 Posted December 6, 2012 sQs, just uploaded it Share this post Link to post Share on other sites
Rolige 449 Posted December 6, 2012 Posted December 6, 2012 Looks fine, just have some little errors in css, obviously would look much better with a scroll to the right and left but in general its fine, thank you. Share this post Link to post Share on other sites
gdinari 14 Posted December 6, 2012 Posted December 6, 2012 sQs, ok I will consider this for any future improvements. Share this post Link to post Share on other sites
Blejzer 2 Posted December 14, 2012 Posted December 14, 2012 I will do some testing on it tomorrow. I have my store at www.tabletzasvakog.com and I will work on my test site until we get the category thing in order. Appreciate the effort you put into this. Thanks Share this post Link to post Share on other sites
dem4nk 2 Posted December 18, 2012 Posted December 18, 2012 hai guys i'have try this module and not working on V.1.4.7 can you help me how to work??? Share this post Link to post Share on other sites
ddlink 0 Posted December 28, 2012 Posted December 28, 2012 How can we edit the file for displaying only products that are not in the cart ? I'll explain better, imagine there is 20 products recommended, when the script display only 8 may be the 8 are already in the cart so it not so interesting, but if the script display always what the costumer don't have in the cart it will be amazing ! advanced thank's if someone can help me to make this change Share this post Link to post Share on other sites
todaytonight 9 Posted February 13, 2013 Posted February 13, 2013 (edited) How can we edit the file for displaying only products that are not in the cart ? I'll explain better, imagine there is 20 products recommended, when the script display only 8 may be the 8 are already in the cart so it not so interesting, but if the script display always what the costumer don't have in the cart it will be amazing ! advanced thank's if someone can help me to make this change I like this idea. By the way, has anyone tested in v1.4.8 yet? Edited February 13, 2013 by todaytonight (see edit history) Share this post Link to post Share on other sites
AngelSpeedy 11 Posted February 14, 2013 Posted February 14, 2013 Not work in 1.4.9.0.. Tested.. Share this post Link to post Share on other sites
CameraTek 5 Posted February 20, 2013 Posted February 20, 2013 nice module thanks. Would it be possible to show accessories associated with the product in your order? cheers Share this post Link to post Share on other sites
KamranMK 5 Posted February 21, 2013 Posted February 21, 2013 Does this module work in Prestashop 1.5? Share this post Link to post Share on other sites
kangaroobaby 2 Posted February 27, 2013 Posted February 27, 2013 if it is work on 1.5.3.1?any idea? Share this post Link to post Share on other sites
francesc 49 Posted March 2, 2013 Posted March 2, 2013 (edited) Hi, thanks for the module, it works fine in 1.5.3.1 I corrected the tpl (in your tpl don't translate the frontoffice) and i have added the Spanish and catalan language. Salut Francesc recommendedprods.zip Edited March 2, 2013 by francesc (see edit history) Share this post Link to post Share on other sites
kangaroobaby 2 Posted March 4, 2013 Posted March 4, 2013 great, works, thanks Share this post Link to post Share on other sites
outlet.ee 9 Posted March 23, 2013 Posted March 23, 2013 Thank you, great module. Here is another feature request: In my case, I sell watches, sunglasses, wallets etc. So if somebody adds a watch to a cart, I would like to suggest a wallet or sunglasses but NOT another watch. Etc, etc. I don't mind editing the file manually myself. So it should be based first on the cart contents: don't suggest the same products already in the cart and don't show products from the same categories of the products already in the cart. Share this post Link to post Share on other sites
fixgear 8 Posted April 2, 2013 Posted April 2, 2013 hey gdinari, great little mod. hey francesc, i replaced the original tpl file with yours and the es.php file as well but it is still not translating in the spanish version of my site. any ideas? thanks, jer... Share this post Link to post Share on other sites
fixgear 8 Posted April 3, 2013 Posted April 3, 2013 CORRECTION. it is translating fine now. thanks, jer... Share this post Link to post Share on other sites
dambie 10 Posted April 3, 2013 Posted April 3, 2013 The worst thing is that the list of products does not refresh when you add to cart: ( Share this post Link to post Share on other sites
slates 4 Posted April 6, 2013 Posted April 6, 2013 Hi. Can't see the product images in the module. Any idea? Share this post Link to post Share on other sites
varenne 0 Posted April 23, 2013 Posted April 23, 2013 ma per la 1.4.4.1? Share this post Link to post Share on other sites
qbicdesign 1 Posted May 9, 2013 Posted May 9, 2013 (edited) Really useful module but in 1.5.4 I found some bugs: it messes up the layout of the Featured Products module on homepage. in cart, all the recommended products show in a single column, rather than horizintal line. Edited May 9, 2013 by qbicdesign (see edit history) Share this post Link to post Share on other sites
francesc 49 Posted August 8, 2013 Posted August 8, 2013 As would be possible to run in multi-shop? with various categories, of course! (if shared should work, I think...) Share this post Link to post Share on other sites
francesc 49 Posted August 8, 2013 Posted August 8, 2013 As would be possible to run in multi-shop? with various categories, of course! (if shared should work, I think...) Share this post Link to post Share on other sites
ErikSebastia2 6 Posted December 2, 2013 Posted December 2, 2013 How to adapt to 1.4.x? I'm having trouble dialing the Hook Share this post Link to post Share on other sites
ErikSebastia2 6 Posted December 10, 2013 Posted December 10, 2013 Up! Share this post Link to post Share on other sites
ckarone 105 Posted December 10, 2013 Posted December 10, 2013 Hi, try this one :http://www.prestashop.com/forums/topic/273619-free-module-blockcartaccessories-display-product-accessories-on-the-cart/ Ckarone Share this post Link to post Share on other sites
mers84 0 Posted January 8, 2014 Posted January 8, 2014 Good afternoon, I wonder to know if there is any way of placing multiple images to a recommended product? Regards. Share this post Link to post Share on other sites
deepa 1 Posted May 13, 2014 Posted May 13, 2014 Are the Recommended products module is same as the Cross selling? I think the logic is same for the both. Share this post Link to post Share on other sites
Naby 0 Posted February 24, 2015 Posted February 24, 2015 This module works in version 1.5.6 ? Share this post Link to post Share on other sites
hhcj 2 Posted March 25, 2015 Posted March 25, 2015 Hi,Thanks for module, works fine, but i have a problem.If you are in cart's page and add to cart one product, the product add's to basket, but dont display in list of products in cart's page. It's necesary reload the page for see the products.Anyone can say me how resolve this?Thanks! Share this post Link to post Share on other sites
Recommended Posts