Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TWO Probs: Order certain number + Payment Blocking


realpingo

Recommended Posts

Hi all!!!

 

When I thought everything was going perfect, we published a very large advertising yesterday and today it was published for over 1% of Swedens population! But now I need to DESPERATLY fix these two problems - FAST!

 

These are the problems:

 

1: In one category I have around 150 products. I want users to ONLY be able to buy 2, 4, 6, 8 and so on, of these. NOT be able to buy only one, three or so on. For every second product they will get a FREE product from us, but we loose MUCH money when they buy just one.

 

All these products are IDENTICAL to the others (outside this category) with the difference to one thing: The model number has "K " before it.

 

What I would like to do is that the Checkout Process checks the NUMBER OF "K "-products in the Shopping Cart. If the number is ODD (1, 3, 5 etc) then the user can't checkout and needs to either buy one more product OR delete one (I want to user to get to another screen with this info).

 

IS THIS POSSIBLE TO DO EASILY???

 

 

 

2: I want, in the Checkout Process, when the user finally reaches the place where he/she can choose payment methods to ONLY be able to choose ONE particular payment method IF the user has "K "-model products in the cart.

 

If the user has NO "K "-model products OR has both "K "-model and others, then he/she can choose ANY payment method.

 

 

 

Are these two changes possible to do with just changes in the checkout_process.php file and maybe just a few others??

 

 

 

Would like help fast since the site is live and the ad was out yesterday. Orders are coming in that are totally weird, because people just can't read. :-(

 

Thank you in advance!

 

/ Pingo

Link to comment
Share on other sites

I'm not much of a coder but you might want to try changing the product description to indicate that it is 2 of the product being offered and then double the price.

Then write a note and place it in the checkout to indicate that if they have any of these products they must choose X shipping. It isn't perfect but the change could be made in a jiffy.

Link to comment
Share on other sites

I'm not much of a coder but you might want to try changing the product description to indicate that it is 2 of the product being offered and then double the price.

Then write a note and place it in the checkout to indicate that if they have any of these products they must choose X shipping. It isn't perfect but the change could be made in a jiffy.

 

Thanks for the tips, but it doesn't work, since there are 150 different products, and the customer can choose any two of these 150, and then we will add one extra before packing. :-/

 

/ Pingo

Link to comment
Share on other sites

Hmmm, yeah it is complicated. And you're right, people can't/don't read. It drives me nuts, too. I hope someone is able to come up with some snippets of code for you!

Link to comment
Share on other sites

Hmmm, yeah it is complicated. And you're right, people can't/don't read. It drives me nuts, too. I hope someone is able to come up with some snippets of code for you!

 

Thanks! :)

 

Well, I HAVE put up more texts. Seems to me that text/info at the end of the shopping routine is more effective than having it on the index-page.

 

/ Pingo

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...