Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Currency Dropdown Selection Box


Guest

Recommended Posts

Hi,

 

Since my client's store only deals in US Dollars, I've gotten rid of the language selection and change the currency box to read 'Currency' rather than 'Currencies'. Now I would like to get rid of the currency dropdown selection box and replace it with just 'US Dollar'.

 

Does anyone know where I make that edit change?

 

TIA

 

Dave

Link to comment
Share on other sites

If you only sell in US Dollars then just comment out the currency box code in the includes/column (left or right) that you have it in e.g.

 

//include(DIR_WS_BOXES . 'currencies.php');

 

Vger

Link to comment
Share on other sites

Vger,

 

Thanks for your reply. I know I can do that, but I would prefer to remove any possible ambiguity. I have to believe that it is possibly, I just don't know where to replace the currency dropdown with 'US Dollars'.

 

Dave

 

If you only sell in US Dollars then just comment out the currency box code in the includes/column (left or right) that you have it in e.g.

 

//include(DIR_WS_BOXES . 'currencies.php');

 

Vger

Link to comment
Share on other sites

Okay, I'm going to try to beat this horse one more time - hopefully it isn't dead yet.

 

 

Vger,

 

Thanks for your reply. I know I can do that, but I would prefer to remove any possible ambiguity. I have to believe that it is possibly, I just don't know where to replace the currency dropdown with 'US Dollars'.

 

Dave

 

I've narrowed down what needs to be edited to the following code segment (from .../store/includes/boxes/currencies.php - approximately lines 39-41 ), but, obviously, I don't have the php knowledge to know how to do it without hacking at it. I'd much prefer for someone to show me what to do, so I can learn.

 

$info_box_contents[] = array('form' => tep_draw_form('currency', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get'),

'align' => 'center',

'text' => tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" style="width: 100%"') . $hidden_get_variables . tep_hide_session_id());

new infoBox($info_box_contents);

 

What I want is to get rid of the dropdown currency selection and replace it with the text 'US Dollars'. I've change 'currencies' on the first and fourth line to 'currency', but past that point I'm stuck.

 

Any help would be sincerely appreciated.

 

Dave

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...