4 replies [Last post]
renzomassaro's picture
Offline
Joined: 11/17/2010
Juice: 40
Was this information Helpful?

Hello,

Is it possible to edit the checkout where an article with a 0,00 price not showing by the products with a price?
And then the 0,00 priced articles come in a seperate pane?

Cayenne's picture
Offline
Joined: 01/01/2009
Juice: 533
Hi Renzo. I am sure that this

Hi Renzo.

I am sure that this is possible, and am about to dig into the checkout pane for some related issues. But let me ask you, what kind of items are you wanting to price at 0, and why?

I don't mean to pry, but there may be an easier way to your goal.

Michael

renzomassaro's picture
Offline
Joined: 11/17/2010
Juice: 40
Re: Hi Renzo.I am sure that this

Hello Michael

the reason is that some articles are ask for quote articles and they are at 0,00 price.

Cayenne's picture
Offline
Joined: 01/01/2009
Juice: 533
Re: Re: Hi Renzo.I am sure that this

Okay, I see. This is related to your other post asking about quotes.

Have you looked at this module: http://drupal.org/project/uc_quotes ? I have not tried it myself, but someone may have come up with a rational plan.

Otherwise, you may have some work to do!

clay_ton's picture
Offline
Joined: 07/07/2011
Juice: 44
Re: Re: Re: Hi Renzo.I am sure that this

Here's a slightly hackish way to hide the items with no price:

Go to the template file for this particular page and determine which statement prints it. Then, you can unset it for that variable. (Most likely included in $content)

Quote:

foreach ($content as $key => $value ) {
if $value == $products || $value->price == 0 //You would have to determine what goes here
unset($content[$key]);
}

Clayton