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.

What is the difference between FC.json.product_count and FC.json.item_count?

carlos123carlos123 Member
I am confused.

Some documentation references FC.json.product_count (https://wiki.foxycart.com/v/2.0/javascript) and some FC.json.item_count (https://wiki.foxycart.com/v/2.0/templates/view_data).

Are these two variables the same thing? Namely referring to the total number of items in the cart?

Carlos
Comments
  • fc_adamfc_adam FoxyCart Team
    @carlos123,

    Sorry for the confusion there. The references to product_count on the javascript page were incorrect. I've fixed them, thanks for bringing them up.
Sign In or Register to comment.