Skip to content

SendForm - getting back product ID #532

@noxtras

Description

@noxtras

This cart is great, and it's only problem, as far as I can tell, is that it doesn't send product IDs at checkout, so you can validate with a database. An easy fix is to add 'item_id' element when adding to cart, and adding this line after line 1158:
data['item_id_' + counter] = item.get("id");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions