Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommendations Contribution?


yakseller

Recommended Posts

Has anyone created a Recommendations contribution that will display recommended products when an item is viewed? Choosing products from a list in the products setup admin page, that will then display, and can be added to the cart?

 

Thanks for any information you can give.

Link to comment
Share on other sites

This seems like it wouldn't be too difficult to create.

 

Create a table called products_recommendations with the fields products_id and recommendation_id. Then on product_info.php display items like they are displayed on index.php, with a query that pulls all of the recommended items with the same product_id as the current item.

 

If the query to products_recommendations comes back null, no table would be displayed.

 

Recommendations could be added or deleted to the products_recommendations table in categories.php and could be display in an info box at the bottom of the New Products page.

 

I'm not great at PHP so could use some help. Does anything like this exist?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...