Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OS Commerce as Inquiry System


Netcaster

Recommended Posts

Hi Everyone,

 

Has anyone thought of or tried using OS Commerce as an inquiry system? No payment options. Instead of Add to Cart the button Adds to Inquiry (same thing) and instead of checkout we Complete Inquiry.

 

Can this be done easily?

 

Thanks!

Link to comment
Share on other sites

Yes, relatively.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Yes, relatively.

 

Great. Can I get some help on how to do this? I'll be glad to pay a good coder to help me with this and another mod to direct the e-mails from the store to the appropriate salesman depending on the zip code.

 

I also want to be able to upload and download the database so I can maintain it in Excel.

 

Send me an e-mail with your phone number. Let's talk.

Link to comment
Share on other sites

  • 1 month later...
Good help is hard to find. In my case it's impossible. Isn't there anyone who needs the work? It's not much of a challenge and it's paid work. Any OS Commerce coders out there?

 

Hi Netcaster. I found your post by Googling same. Since there doesn't seem to be a solution, I'm writing my own. It's not really an "add on" or module; I'm just adding and editing some existing lines of code.

 

For starters, I've added a line to my config file:

 

define('MAX_PRICE_BEFORE_INQUIRE',"2500");

 

Then in classes->currencies, I scrolled down to the bottom and modified the display_price function.

If the price is 0, or if it exceeds the above definition, it returns the string "Please inquire for pricing"

 

	function display_price($products_price, $products_tax, $quantity = 1) {
 	if(($products_price <= 0) || ($products_price >= MAX_PRICE_BEFORE_INQUIRE)){
		return("Please inquire for pricing");
	}

  return $this->format($this->calculate_price($products_price, $products_tax, $quantity));
}

 

This does not as yet affect the display of the cart buttons, etc., but I'm getting to it.

 

If you'd like to know how I'm doing it, or if you'd like me to do it for you, send me a private message with your email address in it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...