Skip to content

How can I use utils.api.productAttributes.optionChange on checkout SDK ? #169

@bhargav-codes

Description

@bhargav-codes

When I am trying to use utils.api.productAttributes.optionChange on the checkout SDK, I am getting the response data but the attribute/option of the item is not changed .... How to use it so I can change the product option value on the checkout page ? Here is my code
utils.api.productAttributes.optionChange(238,'item_id=0aaaee28-865d-4c32-b99a-e826b7488adb&attribute%5B116%5D=112233444',(err, response) => { console.log(response.data); });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions