Jump to content

selecting which company is cheaper if i have multiple products


mattm1712

Recommended Posts

i am making a comparison site for products

 

say i have a table

                    !        A      !        B            !        C      !

----------------------------------------------------------------------

  product 1  !    1.34      !      2.78      !        7.90    !

----------------------------------------------------------------------

  product 2  !    1.56      !      3.90      !      8.00    !

----------------------------------------------------------------------

  product 3  !    1.22      !      2.99      !    9.00      !

----------------------------------------------------------------------

  product 4  !      1.09    !      3.00      !      8.50      !

----------------------------------------------------------------------

 

say i wanted to buy product 1 and 2 from the cheapest company A/B or C

 

how would i go about doing this ?

 

any guidance would be helpful  cheers matt

Link to comment
Share on other sites

Hi Matt,

 

You could easily select the products with SQL, but what happens after that is a little unknown. Are you trying to direct customers to other peoples sites ? Allow them to buy it on your site?

Are you factoring in the shipping cost? If product 1 from Company A is more then Company B, but Product 2 is cheaper at Company A who has cheaper shipping rates, then it "may" make more since to buy both products at company A.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.