Hi everyone,

I'm a drupal newbie with no php knowledge. I was required by the school to do customize ubercart/

Does anyone know how to customize ubercart in a way that it does not display prices, and that instead of add to cart, it will just let the people input their name, email and contact number and send it to your mail.

Comments

ultrajet’s picture

I mean instead of add to cart, it will just display check info, then the info will lead the person to a form page that lets the person input contact name, address, telephone number and when it is submitted, it emails the data to you.

Andy_Lowe’s picture

For a "drupal newbie with no php knowledge", this is a tall order, but I'll give you a place to start. Search Drupal for "hook_form_alter". Use hook_form_alter to modify product pages and redirect them to a webform, http://drupal.org/project/webform which you can create to email you the required info. There may be a better way, but this is the first thing to come to mind.
Good Luck,
Andy

guidoable’s picture

I am "abusing" ubercart at the moment to create a booking form where prices are not fixed, but indicative (costumers get a reply with a fixed quote as a reply to the booking). I do this simply by changing the language at ..../admin/build/translate/ and a {display:none;} to certain price classes in the css

kap316’s picture

I'm actually just looking to have no price at all. No redirects or anything like that. I just don't want to display a price. The reason is because I would prefer to add the price in the description. Since the price is actually per square feet. Example 1.99/sq ft. So just eliminating the price listing all together would solve my issue. Any idea?

aosiname’s picture

I think you mean a product display only right

I am doing the same and struggling.

So far, we have a shop that has products with prices and also products which you need to contact us ie a button that goes to a form and you expres your interest in the product.

I created a new content type called Product Display Only
Went to taxonomy and altered the terms for Shop (ticked product(default) and product display only)
But when i add a new content type of product display only, it does not show when you browse to the correct category in the shop

I am looking at altering the core code or something but not sure where to start...

stevoarmstrong’s picture

I'm trying to do the same. I have a load of furniture that is just too big to be shipped and therefore just want to users to be able to view the items and then contact us if they want to buy it. Am going to create a new product class and maybe a new view for that particular class, but am pretty rubbish at using views. Will let you know how I get on...

You can check out the site in production here... www.salonsaversonline.ie