Jump to content
Xpajun

Buttons Script

Recommended Posts

I can't believe that it's been over 4 years since I've been posting on this forum, just shows how well osc has been working for me...

However I'm back again because I know it's time to upgrade to Responsive-osCommerce, I'm currently working on the back end adding my required mods which means a lot of upgrading to handle php7 (especially since some of them date from 2.2).

I'm using v2.3.4.1 CE downloaded on 17 Jan and working on XAMPP/php7

I'm having problems with the buttons not working:

					  <a href="<?php echo tep_href_link('edit_orders_add_product.php', 'oID=' . $_GET['oID'] . '&step=1'); ?>" target="blank" onClick="openWindow('<?php echo tep_href_link('edit_orders_add_product.php', 'oID=' . $_GET['oID'] . '&step=1'); ?>','addProducts');return false"><?php echo tep_image_button('button_add_article.gif', TEXT_ADD_NEW_PRODUCT); ?></a><input type="hidden" name="subaction" value="">

Won't open the window, but if I right click the button and choose "open in new window" the rest of the script works

I have a feeling that it's been wrong for the last 5 or so years but it worked OK with php5.3 so have never bothered to try rewriting it before.

Can anyone give me an idea of how it should read?

 


Currently...:

 

Working with osCommerce 2.3.1

Now working with Phoenix

Add-Ons so far Installed:

Not all of these installed yet on Phoenix - some are and the rest will be

 

Add date and order number to invoice and packing slip,

Products Cycle Slideshow,

Detailed Monthly Sales,

Holiday Settings,

Tracking Module for 2.3

Share this post


Link to post
Share on other sites

Thanks for your reply... have to think now - could it be xampp causing the problem...

Looks like the button problem will be going on hold until I upload the finished site to my online server


Currently...:

 

Working with osCommerce 2.3.1

Now working with Phoenix

Add-Ons so far Installed:

Not all of these installed yet on Phoenix - some are and the rest will be

 

Add date and order number to invoice and packing slip,

Products Cycle Slideshow,

Detailed Monthly Sales,

Holiday Settings,

Tracking Module for 2.3

Share this post


Link to post
Share on other sites

Problem solved - browser


Currently...:

 

Working with osCommerce 2.3.1

Now working with Phoenix

Add-Ons so far Installed:

Not all of these installed yet on Phoenix - some are and the rest will be

 

Add date and order number to invoice and packing slip,

Products Cycle Slideshow,

Detailed Monthly Sales,

Holiday Settings,

Tracking Module for 2.3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×