Post by johnnyflower » Thu Jul 16, 2009 10:22 pm

Hi,

I need a way to remove prices from items, as well as remove stock levels. I have a client who wants the system to send an email with a request for quote for all items added to the cart. He does not want people to be able to see prices, or stock levels of items. Now, the current setup does not allow for the price fields to be blank. And it doesn't look nice when the items are priced '$0.00' (if you're using dollar).

Can someone please help with this?

Search Onion Optimisation


Newbie

Posts

Joined
Tue Jun 16, 2009 6:51 pm
Location - Jeffreys Bay, Eastern Cape, South Africa

Post by Qphoria » Fri Sep 18, 2009 10:24 am

I have this available now.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by tapestry » Wed Oct 21, 2009 8:18 am

Is there a way to not show prices on certain items and allow prices on others? We have some vendors who will not allow online pricing to be shown on their products, while others are fine with it. A "call for price" or "e-mail for price" function would be nice.

Newbie

Posts

Joined
Tue Oct 20, 2009 12:47 pm

Post by rog_ashbury » Tue Jun 01, 2010 2:56 am

Qphoria wrote:I have this available now.
Can you tell me where I can get this? It's just what I'm looking for

Thanks in advance

Roger

New member

Posts

Joined
Mon Nov 02, 2009 6:56 am

Post by rtaylor » Wed Jul 07, 2010 3:48 pm

Qphoria wrote:I have this available now.
Hi,

Sorry but I am also asking you the same question that where can get this? Please resolved these query..........!!

Regards,

Ross

Stay In Touch - AMB stock quotes


Newbie

Posts

Joined
Wed Jul 07, 2010 3:42 pm

Post by rog_ashbury » Wed Jul 07, 2010 4:23 pm

I did a post on this. I use a small modification of a suggestion put up by Qphoria which was to detect 0 currency values and then insert a text string instead. The trouble with this was it did the same when shipping cost was zero and when tax was zero also and looked odd. So here's what I did.

1. EDIT: system/library/currency.php (or system/helper/currency.php for certain versions)

2. FIND:

$string = '';


3. BEFORE, ADD:

if ($format && $value > 99999) {
return 'YOUR TEXT';
}

That's it! This one change does all. Now what you have to do is put a price of 999999 (note five 9s in the above code and six 9s in the product price) for all the products where you want your text to appear instead of the price. The reason for the five 9s compared to the six 9s is so the associated tax figure in the product display is also modified and it looks sensible.

Hope that helps

Roger

New member

Posts

Joined
Mon Nov 02, 2009 6:56 am

Post by Qphoria » Wed Jul 07, 2010 9:46 pm

For a more fully fledged Request Quote mod, i have this

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by emrah75tr » Tue Jul 13, 2010 4:33 pm

anyone who has th solution

Newbie

Posts

Joined
Tue Jul 13, 2010 4:11 pm

Post by rog_ashbury » Tue Jul 13, 2010 4:46 pm

How many solutions do you need? You've already got about three in this thread alone ???

New member

Posts

Joined
Mon Nov 02, 2009 6:56 am

Post by cmebd » Sun Jul 25, 2010 8:11 am

rog_ashbury wrote:I did a post on this. I use a small modification of a suggestion put up by Qphoria which was to detect 0 currency values and then insert a text string instead. The trouble with this was it did the same when shipping cost was zero and when tax was zero also and looked odd. So here's what I did.

1. EDIT: system/library/currency.php (or system/helper/currency.php for certain versions)

2. FIND:

$string = '';


3. BEFORE, ADD:

if ($format && $value > 99999) {
return 'YOUR TEXT';
}

That's it! This one change does all. Now what you have to do is put a price of 999999 (note five 9s in the above code and six 9s in the product price) for all the products where you want your text to appear instead of the price. The reason for the five 9s compared to the six 9s is so the associated tax figure in the product display is also modified and it looks sensible.

Hope that helps

Roger
Hi Roger,

This is brilliant! I have one problem with payment. Because the amount is 999999 in the product and the customer is required to use a payment method because "free checkout" is not available on products over $0 - the invoice sent to the payment processor is listed as $999999.00. How would one overcome the requirement for payment on a product that only requires quotation?

cheers

A stupid question is the one you -don't- ask.........(Anon)

)C1.5.0.1 (IN devel)
OC V1.4.9.5
OC V1.4.9.2
OC V1.4.7
OC V1.3.4


User avatar
Active Member

Posts

Joined
Fri Nov 13, 2009 11:17 am
Location - Tasmania, Australia

Post by rog_ashbury » Sun Jul 25, 2010 2:51 pm

:-)

Obviously by putting a text string in and not a price, the product is not intended to be sold per se, so payment doesn't come into it!

I would suggest that if someone then does want to order at a given price you either manually enter and then edit the order, or apply a one-off coupon to give the price you have agreed with them or you add a 'copy' product with the price you've agreed.

I'm sure there are other possibilities. You just have to identify a work-round. It isn't always necessary to edit code and often isn't desirable IMO.

New member

Posts

Joined
Mon Nov 02, 2009 6:56 am

Post by cmebd » Sun Jul 25, 2010 5:40 pm

rog_ashbury wrote::-)

Obviously by putting a text string in and not a price, the product is not intended to be sold per se, so payment doesn't come into it!
#1But how does one get around the requirement to select a payment type before completing the order process??


The scenario I have is:
  • The customer makes a selection of attire from my suppliers site.
  • Fills in the various pieces of information: Product ID, size, style, custom embellishment and
  • then submits the Quotation Request through the order process.
rog_ashbury wrote:I would suggest that if someone then does want to order at a given price you either manually enter and then edit the order, or apply a one-off coupon to give the price you have agreed with them or you add a 'copy' product with the price you've agreed.
#2This is what I am intending to do - once I get over #1 above.
rog_ashbury wrote:I'm sure there are other possibilities. You just have to identify a work-round. It isn't always necessary to edit code and often isn't desirable IMO.
#3 I agree - the majority of any enhancements in my site have been "outside" the core and default theme. Which is OK when it comes to html and css - am not too bad at that; Its the php stuff that stumps.

A stupid question is the one you -don't- ask.........(Anon)

)C1.5.0.1 (IN devel)
OC V1.4.9.5
OC V1.4.9.2
OC V1.4.7
OC V1.3.4


User avatar
Active Member

Posts

Joined
Fri Nov 13, 2009 11:17 am
Location - Tasmania, Australia

Post by Roben » Mon Oct 04, 2010 3:59 pm

Thanks for share solution keep it up!!!!

stock market quotes


Newbie

Posts

Joined
Mon Oct 04, 2010 3:57 pm

Post by trapson » Tue Mar 01, 2011 8:49 pm

thnx worked for now

Opencart 1.4.9.3


New member

Posts

Joined
Fri Sep 24, 2010 7:10 pm

Post by daviddew » Mon Feb 20, 2012 1:59 am

hi,
bundle of thanks great solution great pleasure me looking forward keep going short friendship quotes

Newbie

Posts

Joined
Mon Feb 20, 2012 1:57 am

Post by tverheijen » Mon Dec 10, 2012 4:07 am

nice solution :)

Is there a way to hide the add to card button olso ?

Active Member

Posts

Joined
Tue Sep 20, 2011 3:19 am

Post by skyerreyks » Sat Sep 14, 2013 5:30 pm

Thanks!!! 1.5.5.1 works!

Newbie

Posts

Joined
Sat Sep 14, 2013 5:26 pm
Who is online

Users browsing this forum: No registered users and 11 guests