Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

switching the BUY BUTTON according to the language selected


johnduo0007

Recommended Posts

I have my website in three languages and I want the buy and detail buttons to change according to the language selected. How do I go about doing that?

 

The buttons are below:

 

 

 

 

<a href="' . tep_href_link('product_info.php','products_id=' . $new_products['products_id']) . '">

 

' . tep_image_button('small_view.gif') . '

 

</a> 

 

 

 

<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $new_products['products_id']) . '">

 

 

' . tep_image_button('button_in_cart.gif') .

 

 

'</a>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...