Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    25
    Plugin Contributions
    0

    Default adding to shoppingCart class

    I'm adding some variables and a few functions to the shoppingCart class, yet $_SESSION['cart'] does not have my functions or variables available. Does anyone have any ideas why?

    Is there some serialization or some way I need to add my functions? They are inside the class definition...any help is appreciated.

    thanks

  2. #2
    Join Date
    Nov 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: adding to shoppingCart class [SOLVED]

    [SOLVED.....(operator error)...]

    If you have edited a class or function, and it looks like your code is not even there....

    ...check your FS_CATALOG path in your config....and the local folder config if there is one...

    spent too many hours trying to see why my functions/variables weren't in the class as I expected...turned out I had copied the config from another project and it was looking at those files!

 

 

Similar Threads

  1. Adding a tax class to a Category
    By drhiii in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 6
    Last Post: 1 Dec 2011, 03:11 PM
  2. PayPal Push Orders: Object of class shoppingCart could not be converted to string
    By honrheart in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 Oct 2009, 03:58 PM
  3. class shoppingCart as inventory
    By David Bo in forum General Questions
    Replies: 0
    Last Post: 6 Feb 2007, 07:14 PM
  4. class shoppingCart
    By David Bo in forum General Questions
    Replies: 2
    Last Post: 6 Feb 2007, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg