osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

[BugFix]Change Currenices From product_info.php failing

This is a discussion on [BugFix]Change Currenices From product_info.php failing within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, A small code bug has been located in the catalog/includes/boxes/tell_a_friend.php file. This problem causes the product_info.php page to incorrectly ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-06-2003, 12:55 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default [BugFix]Change Currenices From product_info.php failing

Hi,

A small code bug has been located in the catalog/includes/boxes/tell_a_friend.php file. This problem causes the product_info.php page to incorrectly redirect to the login page when a customer changes currencies.

The problem is simple, a closing form tag is missing from the box. You can either manually add the following code change, or simply download the attached file and replace catalog/includes/boxes/tell_a_friend.php.

Find this code:
Code:
  $boxContent .= tep_draw_input_field('to_email_address', '', 'size="10"') . ' ' . tep_image_submit('button_tell_a_friend.gif', BOX_HEADING_TELL_A_FRIEND) . tep_draw_hidden_field('products_id', $HTTP_GET_VARS['products_id']) . tep_hide_session_id() . '<br>' . BOX_TELL_A_FRIEND_TEXT;
And add this line after it:
Code:
$boxContent .= '</form>';
Or, just download the attached zip and use the replace the tell_a_friend.php file with the file in the zip.
Attached Files
File Type: zip tell_a_friend_205.zip (680 Bytes, 14 views)
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Bugfix 85-checkout_shipping_address checkout_payment_address kenlyle osCMax v2 Features Discussion 1 01-05-2006 08:56 AM
Categories.php bugfix for larger stores gamefreak7 osCMax v2 Installation issues 0 08-05-2005 10:32 PM
locall install on windows/apache - Failing at step 1! GwilliamP osCMax v2 Installation issues 4 07-08-2005 05:05 AM
product_info.php Migraine osCommerce 2.2 Modification Help 1 04-20-2005 08:18 AM
[BugFix] v1.5 Category Descriptions Bug michael_s osCMax v1.7 Discussion 0 09-25-2003 11:50 PM


All times are GMT -8. The time now is 04:26 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax