aglitter Posted May 23, 2006 Posted May 23, 2006 Does anyone know of a contribution that allows you to show two prices for a product ie: a default currency, as well as the users/localized currency. I am in NZ, and i want to be able to display both the US value and the NZ value (NZ prices always look high to US buyers if they do not realise the prices are in NZ dollars) To help I have put the currency symbols as $NZ and $US - but I would like to be able to show two different currencies concurrently. i did have a search but could not find a contribution to do this. I have looked a the php code 'product_listing.php' and at first glance i would add something into this case case 'PRODUCT_LIST_PRICE': $lc_align = 'right'; if (tep_not_null($listing['specials_new_products_price'])) { $lc_text = ' <s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span> '; } else { $lc_text = ' ' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . ' '; }
insomniac2 Posted May 23, 2006 Posted May 23, 2006 Yes it is called Display Price in Default Currency Link: http://www.oscommerce.com/community/contri...efault+currency
aglitter Posted May 23, 2006 Author Posted May 23, 2006 Thanks for that. That is half of what I wanted - I actually did see this one but I wanted the price to be displayed in the product listing in both currencies. I will take a look at this code closer and I might be able to use it to help modify what I want on the product listing pages. thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.