Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Using OSc for a service based system


dolalu

Recommended Posts

Hi, I have been searching the forims for a couple of hours and i am still sketchy on how to do what i want.

 

I basically run a modelling agency and i want to add my model to a shopping cart. As each job varies i cannot set prices etc on the models. Ideally i want them to be able to register an interest in them. Ie if they viewed blond men all of that type would appear. If there is somebody they like they can register an interest'buy' in them. Once they have filled their cart they will then recieve an email notification to say there interest has been declared. Once i pick up my orders i can then contact the client and discuss availability and price etc.

 

Obviosly alot of the boxes would be unused, i just need to know how to bypass the shipping,payment stage so that i get the info and my clients register their interest.

 

Any help greatly appreciated as im going demeted.

Link to comment
Share on other sites

It will be less secure (shouldn't matter as you aren't shipping anything), but you can do the checkout part of this relatively easily. In checkout_shipping.php, change

  if ($order->content_type == 'virtual') {
   if (!tep_session_is_registered('shipping')) tep_session_register('shipping');
   $shipping = false;
   $sendto = false;
   tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
 }

to

//  if ($order->content_type == 'virtual') {
   if (!tep_session_is_registered('shipping')) tep_session_register('shipping');
   $shipping = false;
   $sendto = false;
   tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'));
//  }

Make sure that the cod payment module is installed, and in checkout_confirmation.php, change

  if (isset($HTTP_POST_VARS['payment'])) $payment = $HTTP_POST_VARS['payment'];

to

  $payment = 'cod';

There is a tip in the Tips & Tricks forum about making prices of 0.00 appear as Call for Price! You could modify that to your purposes.

 

Hth,

Matt

Always back up before making changes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...