Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Action after clicking on "Buy Now" button


JoePyler

Recommended Posts

Before certain products may be sold via a webshop, the manufacturer demands that the client needs to visit a page on his own website with some kind of "I know how the product works"-declaration. (No discussion possible about this issue, take it or leave it :( )

 

I guess I have to take action in the 'application_top.php' file, more precise in the procedures case 'add_product' and case 'buy_now'.

 

I'm thinking that the script should handle the following conditions:

  • If the "article discription" is ok according certain conditions (eg. contains certain characters/tokens) then a new window with a specific address should be opened.
  • If the return is succesfull there should be a notice that the product is added to the basket.

Who can help me out?

Link to comment
Share on other sites

  • 2 weeks later...
there's a contribution for terms & conditions which may be suitable - http://addons.oscommerce.com/info/5750

 

Thanks for your reply.

 

I understand your suggestion (already had it downloaded). The major difference with this addon and what we need is that we need the action after the "buy now" button has been hit. Just like the example mentioned.

Link to comment
Share on other sites

It's not hard, but it's not straightforward.

 

Something that has never been done before needs to have bespoke coding made for it. There are only a handful such coders available. Will one of them do this for no cost? Un-likely.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...