The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Product does not contains expire properties

Hi, i have been playing with foxycart and hmac, now tried the sample code (because can not get it to work properly on the regulalr way), but iam getting this error:

This product could not be added because it does not contain an expires property.

Any help?
  • fc_adamfc_adam FoxyCart Team

    Sorry to hear you're having trouble there. Looking at your store's "advanced" settings page, you've checked the box for "require all products in the cart to have an expires property?". This will require that any product added to the cart includes the expires parameter, which sets how long a product is allowed to be in the cart for before it's removed.

    If you ensure the product link/form includes the expires attribute, or you uncheck that box on the "advanced" settings page in the admin, that should get it working for you.

    I linked to this on your other thread too - but just in case someone else finds this thread in the future, you can see more details on the expires attribute here:
  • Thank you! Solved
Sign In or Register to comment.