Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

First of all hello and thanks for letting me join !

 

I will also confess I am a complete newbie at using and adding and installing modules but yesterday was contacted by a site owner that has his hosting with me in a desperate plea for help and as I have no problems administering the standard OsCommerce I said I would try and help out but I am way in over my head and desperately need help.

 

My customer wants to add a bundled product option to sell some of his products as an anniversary promotion so I came to the site here and after surfing around found an addon called Bundled Products ver 1.54 I think it was I downloaded it and then went very cold as I will admit this is way over my head.

 

I think I have installed it correctly ie copied the directory called CATALOG to the root of OsCommerce preserving all the directories under the main Catalog folder , I have then using mySql admin run the database changes and that seems to have worked as I get a result of 38 lines ammended which I take to be good news but then my problems start I am not sure at all what the rest of the instructions are telling me to do ? Do I have to add in the various lines etc , my main worry is that when I open the files that I am told to modify I can see the lines are there :

 

ex ######################################################

STEP 3: /catalog/includes/database_tables.php

 

***ADD BEFORE FINAL ?>:

 

// BOF Bundled Products

define('TABLE_PRODUCTS_BUNDLES', 'products_bundles');

// EOF Bundled Products

 

######################################################

 

so i am not sure what I am being asked to do !

 

I know that for many experts this is probably laughable but right now I am panicking as the promotion deadline looms for tomorrow and I am no closer to getting it to work

 

Please please any help suggestion or pointers would be gratefully and humbly accepted from this newbie

 

Thanks

Posted

Perhaps its not clear, if u know nothing of php, all php content should start with <?php

and will end with ?> so the instruction u have says find the last ?> in the file & add b4 it.

 

How do I install a contribution http://www.oscommerce.com/forums/index.php?showtopic=343384&st=0#entry1432157 may help you

 

Also

 

PHP Tuition http://us.php.net/tut.php

 

SQL Tuition http://www.w3schools.com/sql/default.asp

 

 

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

just download and open the file catalog/includes/database_tables.php in an editor.

 

scroll down in this file and add this (below) before the final ?> :

 

// BOF Bundled Products

define('TABLE_PRODUCTS_BUNDLES', 'products_bundles');

// EOF Bundled Products

 

 

save file and upload again.

 

DO NOT use the filemanager from Admin, use a ftp program

Posted

Thanks for the replies

 

I am pretty well versed in PHP but thanks for the links if nothing else Ill add the links as a fallback hehe

 

peter222 thanks for the info and youve hit upon why im so incredibly confused !

 

I opened up the file in my ftp program scrolled down and was about to add those lines and they are already there which is why I was stumped !

 

Thanks for the comments and help

 

Mats

Posted

I see two main possibilities. One is that someone already tried to install the Bundled Products add-on. In that case, you just need to verify that the changes were made correctly.

 

The second possibility would be that you are trying to use two installation methods at the same time. In one installation method, you upload the files that come with the contribution, writing over the existing files (which is why it is a good idea to do a site backup before doing this). That method is only meant to be used on new stores, where the files are unchanged from their original state. In the second installation method, you follow the instructions that tell you to find code and make modifications. It sort of sounds like you have uploaded the contribution files and are trying to modify the files that you uploaded. In this case also, you just need to verify that the code is there and proceed.

 

Things are further complicated by the fact that in some of the files in the contribution, changes are made twice.

 

Also, the contribution is not fully internationalized, so if you want to use it in a language other than English, you may need to manually edit some of the code files.

Always back up before making changes.

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...