We want to offer special discount coupons for people that call us for better pricing per MAP policies. It says the customer has to initiate a phone call to us before we can sell the product online for a cheaper price than MSRP. We want to use the Call for Price to achieve this, but still have it available for sale at the MSRP.


I have gone into
/includes/functions/functions_general.php
and commented out the case for call for price replaceing the add to cart.

on
includes/templates/template_default/templates/tpl_product_info_display.php
I added the code below right above the <!-- add to cart -->

PHP Code:
<!--bof call for price -->
<?php
     
        $button_check 
$db->Execute("select product_is_call, products_quantity from " TABLE_PRODUCTS " where products_id = '" . (int)$product_id "'");
  
    if (
$button_check->fields['product_is_call'] == '1'){
    
$return_button '<a href="' zen_href_link(FILENAME_CONTACT_US) . '">' TEXT_CALL_FOR_PRICE '</a>';
    return 
$return_button;
    }
?>

<!--eof call for price -->
What version of Zen Cart are you using?1.38
Has your site been upgraded? When? From what version(s)? no
What addons have you installed? When? too many to list

link with call for price activated: link

Right now, there is no link to contact us showing up even with call for price enabled. I am pretty sure i am missing something, just not sure what.