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?
Comments
  • fc_adamfc_adam FoxyCart Team
    @leodonorte,

    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: http://wiki.foxycart.com/static/redirect/add_to_cart
  • Thank you! Solved
Sign In or Register to comment.