Forums / Templates, Stylesheets, Page Layout / Help Changing the call for price option

Help Changing the call for price option

Views: 1,915

Results 1 to 20 of 25
21 May 2013, 10:30 AM
#1
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Help Changing the call for price option

Hi Everyone

Hope you are all well

I currently have some products listed that are infact service which do not have a fixed price. I have listed them as call for price and the call for rice gif apppears when called for.
What I would like to do is on a whole category find away of displaying a price from £**** in place of the call for price tag.
This would be easy to do by just altering the call for price gif however if i do that the price from £**** will apppear on all products like this and unfortuently they a from rice is different on each product.
I have 12 products in total that I would like to do this for and if possible would like some idea and pointers to how it could be done perhaps with a selection of *if statements

Any ideas would be greatly appreciated here is a link to one of the product lists I am tryoing to modify

http://www.avinstalls.co.uk/tv-installation-services-c-1_2.html

All help is greatly appreciated :)

Many Thanks

Boyd

21 May 2013, 1:17 PM
#2
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

I have been looking into this further and wonered if this could be a possible solution

I the languages other images name it defines the use of the call for price jpg

Is it possible to use a if page = statement and turn this image off for certain pages and use another if statement to recall a seperate call for price image that could be modified to reflect a price from jpg

or can you make an if statement for each product i want to modify that both turns of the existing definition and recalls the alternative defined image

Hope I have explaine dthis well enough

Thanks for any advice

<?php /** * @package languageDefines * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: other_images_names.php 3056 2006-02-21 06:41:36Z birdbrain $ */ /* * define the other images used in the project */ define('OTHER_IMAGE_BLACK_SEPARATOR', 'pixel_black.gif'); define('OTHER_IMAGE_BOX_NOTIFY_REMOVE', 'box_products_notifications_remove.gif'); define('OTHER_IMAGE_BOX_NOTIFY_YES', 'box_products_notifications.gif'); define('OTHER_IMAGE_BOX_WRITE_REVIEW', 'box_write_review.gif'); define('OTHER_IMAGE_CALL_FOR_PRICE', 'call_for_prices.jpg'); define('OTHER_IMAGE_DOWN_FOR_MAINTENANCE', 'down_for_maintenance.gif'); define('OTHER_IMAGE_PRICE_IS_FREE', 'free.gif'); define('OTHER_IMAGE_TRANPARENT', 'pixel_trans.gif'); define('OTHER_IMAGE_CUSTOMERS_AUTHORIZATION', 'customer_authorization.gif'); define('OTHER_IMAGE_REVIEWS_RATING_STARS_FIVE', 'stars_5_small.gif'); define('OTHER_IMAGE_REVIEWS_RATING_STARS_FOUR', 'stars_4_small.gif'); define('OTHER_IMAGE_REVIEWS_RATING_STARS_THREE', 'stars_3_small.gif'); define('OTHER_IMAGE_REVIEWS_RATING_STARS_TWO', 'stars_2_small.gif'); define('OTHER_IMAGE_REVIEWS_RATING_STARS_ONE', 'stars_1_small.gif'); //define('OTHER_IMAGE_', ''); /* * ALT tags for other images */ define('OTHER_BOX_NOTIFY_REMOVE_ALT', 'Remove this product notification.'); define('OTHER_BOX_NOTIFY_YES_ALT', 'Notify me of updates to this product.'); define('OTHER_BOX_WRITE_REVIEW_ALT', 'Write a review on this product.'); define('OTHER_CALL_FOR_PRICE_ALT', 'Please Call for the Current Price.'); define('OTHER_DOWN_FOR_MAINTENANCE_ALT', 'The site is currently down for maintenance. Please come back later.'); define('OTHER_TRANPARENT_ALT', ''); define('OTHER_IMAGE_CUSTOMERS_AUTHORIZATION_ALT', 'CUSTOMER APPROVAL IS PENDING ...'); define('OTHER_REVIEWS_RATING_STARS_FIVE_ALT', 'Five Stars'); define('OTHER_REVIEWS_RATING_STARS_FOUR_ALT', 'Four Stars'); define('OTHER_REVIEWS_RATING_STARS_THREE_ALT', 'Three Stars'); define('OTHER_REVIEWS_RATING_STARS_TWO_ALT', 'Two Stars'); define('OTHER_REVIEWS_RATING_STARS_ONE_ALT', 'One Star'); //define('OTHER_xxx_ALT', ''); ?>
21 May 2013, 1:59 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

Are you saying on Call for Price products that you want to show either the Call for Price tag or an actual Price for the Product on a specific Category?

If so, just adding a Price to the Product with show both the Price and the Call for Price tag ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 May 2013, 2:28 PM
#4
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

Hi Ajeh

Lets say I have 20 products that are call for price
Out of them 20 there are six product that have a from and to price eg 99.99 to 199.99 there is no fixed price hence why I am using call for price
What I wont to do for those six individual product is display an image or text with a from 99.99 to 199.99 instead of call for price the next snag each of those six products have a different from and to price so need to be handled individual as that paricular product page is called

I hope I am making sense lol

kind regards Boyd

I hope that makes sense

21 May 2013, 2:37 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

The Call for Price image is managed in the file:
/includes/functions/functions_price.php

in the function zen_get_products_output_price ...

The image itself is down in the code around 288:

    // If Call for Price, Show it
    if ($product_check->fields['product_is_call']) {
      if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
//         $priceinfo['call_tag'] = PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT;
        $priceinfo['call_tag'] = '<a class="btn-callforprice" href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT . '</a>';
        $call_tag = '<br />' . $priceinfo['call_tag'];
      } else {
        $priceinfo['call_tag'] = zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
        $call_tag = '<br />' . $priceinfo['call_tag'];
      }
    }

You could add in there a check for the Product's products_id based on the variable $products_id and display your own image, when needed ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 May 2013, 2:54 PM
#6
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

Hi Ajeh

Thanks for this not sure how to complete it but below is what I would do with my limited knowledge

// If Call for Price, Show it
if ($product_check->fields['product_is_call']) {
if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
// $priceinfo['call_tag'] = PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT;
$priceinfo['call_tag'] = '<a class="btn-callforprice" href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT . '</a>';
$call_tag = '<br />' . $priceinfo['call_tag'];
} else {
$priceinfo['call_tag'] = zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
$call_tag = '<br />' . $priceinfo['call_tag'];
}else {
if ($current_page_base == 'product_info' and $_GET['products_id'] == '4' = zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_NEW_IMAGE_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
$call_tag = '<br />' . $priceinfo['call_tag'];

}

not sure if that is the sort of thing you mean sorry

21 May 2013, 3:02 PM
#7
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

or possibly

/ If Call for Price, Show it
if ($product_check->fields['product_is_call']) {
if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
// $priceinfo['call_tag'] = PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT;
$priceinfo['call_tag'] = '<a class="btn-callforprice" href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT . '</a>';
$call_tag = '<br />' . $priceinfo['call_tag'];
} else {
$priceinfo['call_tag'] = zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
$call_tag = '<br />' . $priceinfo['call_tag'];
}else {
if ($current_page_base == 'product_info' and $_GET['products_id'] == '4' )
$priceinfo['call_tag'] = zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_NEW_IMAGE_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
$call_tag = '<br />' . $priceinfo['call_tag'];

21 May 2013, 3:26 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

It might be easier to read/manage with:

    // If Call for Price, Show it
    if ($product_check->fields['product_is_call']) {
      if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
//         $priceinfo['call_tag'] = PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT;
        $priceinfo['call_tag'] = '<a class="btn-callforprice" href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT . '</a>';
        $call_tag = '<br />' . $priceinfo['call_tag'];
      } else {
        $priceinfo['call_tag'] = zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
        $call_tag = '<br />' . $priceinfo['call_tag'];
      }
      
[B]// bof: custom Call for Price image override
        switch (true) {
            case ($products_id == 33):
          $priceinfo['call_tag'] = zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_price_33.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
          $call_tag = '<br />' . $priceinfo['call_tag'];
              break;
            case ($products_id == 72):
          $priceinfo['call_tag'] = zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_price_72.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
          $call_tag = '<br />' . $priceinfo['call_tag'];
              break;
            case ($products_id == 84):
          $priceinfo['call_tag'] = zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_price_84.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
          $call_tag = '<br />' . $priceinfo['call_tag'];
              break;
      }
// eof: custom Call for Price image override
[/B]    }

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 May 2013, 4:17 PM
#9
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

Hi AJeh

thanks fopr this I havetried it but it sends the site completly blank I have noticed though that my

// If Call for Price, Show it
if ($product_check->fields['product_is_call']) {
if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
$call_tag = '<br />' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT;
} else {
$call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
}
}

is different to the one you have displayed above

I have tried replacing all of the call for the text above but that also sends the site blank

21 May 2013, 4:24 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

You are in v151, correct?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 May 2013, 4:29 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

My bad ... that was v16 code ... :blush:

Try using:

    // If Call for Price, Show it
    if ($product_check->fields['product_is_call']) {
      if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
        $call_tag = '<br />' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT;
      } else {
        $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
      }
    }
[B]// bof: custom Call for Price image override
        switch (true) {
            case ($products_id == 33):
          $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_price_33.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
              break;
            case ($products_id == 72):
          $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_price_72.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
              break;
            case ($products_id == 84):
          $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_price_84.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
              break;
      }
// eof: custom Call for Price image override
[/B]
    return $final_display_price . $free_tag . $call_tag;

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 May 2013, 4:45 PM
#12
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

Hi Ajeh

Yes thats correct

21 May 2013, 4:58 PM
#13
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

Hi Ajeh

Thanks Again I have tried that and still the same thing shuts the entire site to a blank screen

21 May 2013, 5:15 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

Could you look in your /logs and see what debug message you are getting ...

Meanwhile I will go try this code ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 May 2013, 6:11 PM
#15
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

I have looked at the logs

[21-May-2013 18:32:35] PHP Parse error: syntax error, unexpected '=' in /websites/123reg/LinuxPackage22/av/in/st/avinstalls.co.uk/public_html/includes/functions/functions_prices.php on line 287

I have managed to sort this it now reads
// If Call for Price, Show it
if ($product_check->fields['product_is_call']) {
if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
$call_tag = '<br />' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT;
} else {
$call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
}
// bof: custom Call for Price image override
switch (true) {
case ($products_id == 2):
$call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_price_2.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
break;
case ($products_id == 3):
$priceinfo['call_tag'] . zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_price_3.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
break;
}
// eof: custom Call for Price image override
}
}

return $final_display_price . $free_tag . $call_tag;

the page is now diplaying but none of the images are not even the original call for price jpg on product pages that have not been edited

Many Thanks

21 May 2013, 6:17 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

Did you make an image for:
call_for_price_2.jpg

where did you put it?

It should be in the same directory for your:
call_for_prices.jpg

Note: as a safety, you might add to the case statements:

            case ($products_id == 2[B] && $product_check->fields['product_is_call'][/B]):

that way, if the Product for products_id 2 is NOT marked as Call for Price, then it will not show the image for it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 May 2013, 6:30 PM
#17
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

Re: Help Changing the call for price option

Hi yes definently have the images in the same file its as if the generic and re modelled statements are cancelling themselves out mer!!!!! lol

Oh the joys :)

21 May 2013, 6:41 PM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

Could you add this ECHO just above the comment:

echo 'CALL FOR PRICE products_id: ' . $products_id . ' call_tag: ' . $call_tag . '<br>';      
// eof: custom Call for Price image override

Then see what comes up?

NOTE: that could be a tad messy but might help determine what is happening ...

NOTE: also check the spelling on your image filenames

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 May 2013, 7:06 PM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Changing the call for price option

My numbers do not match yours, but what code do you have between the lines in RED:

[B]    // If Call for Price, Show it
    if ($product_check->fields['product_is_call']) {
      if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
        $call_tag = '<br />' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT;
      } else {
        $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
      }
    }
[/B]// bof: custom Call for Price image override
        switch (true) {
            case ($products_id == 113 && $product_check->fields['product_is_call']):
          $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_prices_113.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
              break;
            case ($products_id == 72 && $product_check->fields['product_is_call']):
          $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_prices_72.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
              break;
            case ($products_id == 84 && $product_check->fields['product_is_call']):
          $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'call_for_prices_84.jpg', PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT);
              break;
      }
echo 'CALL FOR PRICE products_id: ' . $products_id . ' call_tag: ' . $call_tag . '<br>';      
// eof: custom Call for Price image override
[B]    return $final_display_price . $free_tag . $call_tag;
  }

////
// Is the product free?
  function zen_get_products_price_is_free($products_id) {
[/B]

you can see what I have in mine ... maybe I am reading yours wrong but it looks like you might be off on where you put the code or you placed it in a better location than I did and I am missing something ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!