Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

smashing

Members
  • Content count

    85
  • Joined

  • Last visited

Posts posted by smashing


  1. I am having trouble installing this contribution - please help. To quote from the install instructions manual included in the download,? in the part that reads: Appendix: Creating a Product Attribute Display Plugin:Change the require_once line and the extends part of the class definition to refer to the class you have chosen to extend

    My question: in which file is this change to be implemented?

     

    The change is implemented in the new class file for the plugin you are developing, not in any file that comes as part of QT Pro or osCommerce.

     

     

    To be truthful, I never understood that whole part of ceating my own class. Most contributions are simple drag/drop, changes to existing files etc but not creating new classes I don't know what to do here!!!! Let me go thru the instructions from the manual one by one.

     

    1.Choose the plugin that is closest to your desired functionality to extend.

    Ok I want to have multiple dropdowns so...

    2.Copy the plugin file you want to extend to a new name in catalog/includes/classes.

    I copy pad_multiple_dropdowns.php to my catalog/includes/classes directory. I'm not changing the name.

    3.Change the require_once line and the extends part of the class definition to refer to the class you have chosen to extend.

    ???? Please help me with this or post an example of something you have done.

    4.Update the class name to match the file name of your new plugin.

    Since I have no clue on number 3 above, I don't know where to update the class name in this step

    Could you Ralph or anyone else post a sample of actual files how it should be done?


  2. I am having trouble installing this contribution - please help. To quote from the install instructions manual included in the download, in the part that reads:Appendix: Creating a Product Attribute Display Plugin:

     

    Change the require_once line and the extends part of the class definition to refer to the class you have chosen to extend.

     

    My question: in which file is this change to be implemented?


  3. Hi,

     

    I think you will find that osCid actually isn't being lost, it may not appear in the category menu because that is how osCommerce usually works.

     

    After the cookie is set, you will no longer see the "osCid" in any links.

     

    I'm using an (STS) site at present, no "osCid" in the links (expected), but the "osCid" is of course set in the cookies (what is expected).

     

    Peter

     

    Hi

    Thanks for replying. What I do find is this: If a user is logged in they will keep their cookie, and their osCid will successfully follow them from page to page as long as they click on links I have provided in the sts_template (all of those links I make sure to link with $sid at the end of course) except if they click on any link in the the $catmenu - bingo they lose the $sid and have to re-login to checkout for example. Please check out the site for yourself overhere (still in developement) Were can I see your site for your example?


  4. Post # 46 of this thread

    One little thing. Any tips on how to figure out which uploaded file(s) belong to which customers order? Everyone must want to do this, it would be ideal if the order ID was stamped on the files uploaded table I guess?

     

    Any suggestions?

     

    Glenn

     

    Post # 47 of this thread (reply by Matt)

    By default, if you look at the attributes in the customer's order, it will show #. image.ext.  The number is the file name of the image and the files_uploaded_id.  To go the other way, issue a

     

    CODE

     

    SELECT orders_id FROM orders_products_attributes WHERE products_options_values IS LIKE 1.%

    Replace 1 with the actual files_uploaded_id.

     

    Hth,

    Matt 

     

    My question:

    Which file are these changes to take place? Has anyone had any luck naming images with the order # appended to it? Please help!


  5. Hi everybody,

     

    First of all, this is worth noting: STS's readme file says that the $specialfriendbox will display either the Specials Box or the Tell A Friend Box (depending on page viewed). Interestingly, so will the $bestseller Box display the Product Notification Box on certain pages! This is not noted in the readme file.

     

    Now to my particular problem, I made a couple of different templates for viewing different categories, and placed them all in the includes/sts_templates directory. I find that the $bestseller box will not be displayed at all on an index.php page if we're showing a particluar category/sub-category. In other words it will only show best seller information on an index.php page if the index.php page requested is exactly that: the home page itself. Any ideas where to fix this?


  6. This post is regards to the STS contribution by Brian Gallager.

    First of all: STS's readme file says that the $specialfriendbox will display either the Specials Box or the Tell A Friend Box (depending on page viewed). Interestingly, so will the $bestseller Box display the Product Notification Box on certain pages! This is not noted in the readme file.

     

    Now, I made a couple of different templates for viewing different categories, and placed them all in the includes/sts_templates directory. I find that the $bestseller box will not be displayed at all on an index.php page if we're showing a particluar category/sub-category. In other words it will only show best seller information on an index.php page if the index.php page requested is exactly that: the home page itself. Any ideas where to fix this?


  7. Hi Brian ,

    I Simply LOVE your contribution - In my eyes I really think its THE most important contribution out there and it should be standard in the next release of OSCommerce!!!

     

    Here is the URL to the site

     

    It's almost up and running, and as you see, I've totaly changed the whole 'look and feel' you'd never guess it's OsCommerce!

    Anyway I see 1 little problem at the moment. When you first visit the page the following is visible right at the bottom of the page:

    </

     

    This is because for some reason the word 'html' is s stripped from the last tag on the page so instead of the closing </html> tag you just get </ .

    On an Macintosh I've found that (although the source code is screwed up) the browser doesn't display it and seems to process the page correctly even without the closing </html> tag, but on a Windows OS </ is clearly visible.

    Even more interesting is the fact that if refreshed the problem will disappear!

     

    Any idea what to do?


  8. OOPS:

    "That'll teach me to type out the install instructions with such haste!"

     

    What you probably meant was:

     

    "That'll teach me to not type out the install instructions with such haste!"

     

    Anyway, finished installation here, and now am getting this:

     

    Warning: Failed opening 'includes/boxes/categories.php' for inclusion (include_path='./:/usr/local/lib/php') in /www/catalog/includes/column_left.php on line 45

     

    Warning: Failed opening 'includes/boxes/manufacturers.php' for inclusion (include_path='./:/usr/local/lib/php') in /www/catalog/includes/column_left.php on line 52

     

    Fatal error: Failed opening required 'includes/boxes/whats_new.php' (include_path='./:/usr/local/lib/php') in /www/catalog/includes/column_left.php on line 56

     

    I think this is due to folder "boxes" now being empty?

×