Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping Rate per Product - cannot redeclare class


Denver Dave

Recommended Posts

I have installed Joe Janos contribution to allow separate shipping costs for each product and I think I have it mostly working. I can now add and display shipping costs for each product. However, on checkout the costs do not seem to be present.

 

When I go to shipping modules in admin to see if I need to turn something on, I get the following error:

 

Fatal error: Cannot redeclare class prodrate in /<location of my files>/catalog/includes/modules/shipping/prodrate.php on line 13

 

which is the function declaration. Perhaps, I'm calling the function declaration twice? Any suggestions?

Link to comment
Share on other sites

Joej

Thanks for the reply. I'm not quite sure of the dates: "If it is before Nov. 1, try installing the older version." I'll try again with today's build of OsCommerce and the last contribution.

 

Was I right that somehow I'm trying to declare the function twice?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...