Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Call For Pricing with EUR


Spiderweb_IT

Recommended Posts

Hi, I'm new of this forum because usually I'm an user of the Italian Oscommerce Forum.

 

I've some problems with the Call For Pricing / Negotiable Pricing Contribution (http://www.oscommerce.com/community/contributions,2500/) when I use the EUR value.

 

In products_new I've changed the original code with this new:

 

<td valign="top" class="main"></td>

<td valign="top" class="main"><?php

// echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added']) . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price;

?></td>

<td align="right" valign="middle" class="main"><?php

if($products_price == '$999,999.00')

{

echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added']) . '<br><br>' . TEXT_PRICE . ' ' . $lc_text = TEXT_CALL_FOR_PRICE; ;

}

else

{

echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added']) . '<br><br>' . TEXT_PRICE . ' ' . $products_price;

}

?></td>

<td align="right" valign="middle" class="main"><?php

if($products_price == '$999,999.00')

{

echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . '</a>';

}

else

{

echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>';

}

?></td>

 

I've modified the red part as suggest by the author with 999.999,00EUR but with no result... in the page of new products I can see the price of the object and I can put it in the cart with € 999,999.00 price!

Same problem with the product_review_info page :angry:

 

The products_price in the Database is recorded as 999999.0000, I've done a lots of prove with this number, with the € symbol on the left or right, with the EUR code... I don't know where is the problem.

 

Someone can help me? And sorry for my english :-"

 

Bye, Stefano

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...