Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding on and mix matching products


ari73

Recommended Posts

Hi members,

 

I was wondering if there is contribution out there that can do the following

 

say example I have fruit box valued at $30.00 and you get the following in the box

 

5 x apples

7 x pears

1 x pineapple

2 x bananas

 

but say the customer hates bananas and want to change it for example apples now apples are cheaper than bananas is there a contribution out there that will calculate the difference on mix and matching to still come up to a $30.00 value box

 

another example customer may want to have

 

2 x apples

10 x pears

1 x pineapple

2 x bananas

 

apples are worth $0.60

pears are worth $0.80

bananas are worth $2.50

pineapple worth $4.00

 

but at the end of the day the value has to add upto $30.00 maximum.

 

Hope I have explained it o.k

 

 

Regards

 

Ari

Link to comment
Share on other sites

unless your customers would be happy to pay $30 for, say, $25, $28, $29.5 worth of goods, as you wont let them to get $30.01 worth of goods by paying you $30. you cant cut a bit off a banana to make it $30 exact.

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

Ari,

 

There is no current contribution to suit your needs. You could hire someone to create it for you, but even then the logic would have to be altered to make it function properly.

 

 

 

Chris

Link to comment
Share on other sites

I did something similar to what you want here

 

The difference being that thread was about the total quantity of products ordered in specefic categories, not total price of products ordered in the category.

 

If you made a category called "Fruit Basket" and added the fruit allowable to be ordered to that category, then recoded what I wrote to work based on total price not total quantity it would work.

 

You'd also need to allow for multiple "baskets" to be ordered (i.e. if they wanted two baskets the total price couldn't be over $60 instead of $30).

 

This is about as close to what you want to achieve that I can remember seeing.

:)

 

On a more somber note, in the last post in that thread I warned about vulnerabilities in his version (v2.2 RC2a).

 

I just checked again and he's done nothing about it and it appears to me there are hack files present now.

:'(

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

? germ are you talking to me about the hacked files

 

I have done few mods add few thing tp prevent this and deleted things need to add 2 more anti hack measure which will hopefully make it a little harder to hack.

 

 

cool germ I will check out the link and contrubution you mentioned

 

I have actually enrolled in php and my sql course which will hopefully bring me upto speed.

 

Once again thanks for all input and help

 

Ari

Link to comment
Share on other sites

It's really not a "contribution" you'll find at the link I posted just code changes.

 

And yes I specifically mentioned the hack part for your benefit.

 

I merely wanted to reiterate the fact (since you've mentioned having the same version) that with that version you need to take a few extra precautions after a stock install to secure the shop. If you don't it's not a question of "if" you will get hacked just a question of "when" and "how bad".

 

It was not to meant to offend you in any way, and if I have I apologize.

:blush:

 

Peace!

B)

 

"I'd rather be bruised by the truth than caressed by a lie" - Anonymous

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

no feed back has been taken onboard

 

I haven't taken it the wrong way either :lol:

 

and I appreciate the time you take to help out members to me that is priceless.

 

keep up the good work hopefully one day when I'm knowledgeable enough to be able to input some knowledje back into this community site.

 

Cheers

Ari

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...