Submit a request

Can i add a phantom item with personalization to the cart?

Comments

1 comment

  • Avatar
    Patrick

    Hi,

    I think I found a solution, that works for me. Adding a phantom item still doesn’t work, but I was able to add a product with personalizations that already exists.
    Important: the personalizations need to exists on the product, you can’t add them on demand. And the answers to this personalizations need to be in the correct order

    Instead of:

    var item = {
    itemNumber: 123,
    itemName: "personalizations test item",
    price: 666,
    quantity: 2,
    personalizations: [{
    personalization_id: 1,
    question: "Question1?",
    answer: "Answer1"
    }]
    };

    This was the correct formatting:

    var item = {
    itemNumber: 123,
    itemName: "personalizations test item",
    price: 666,
    quantity: 2,
    personalizations: “Answer1|Answer2”
    };

    So I’m now using just one single product with one personalization, that gets added to the cart. A phantom product with personalizations still don’t seems to work :/

    Best regards Patrick

    0
    Comment actions Permalink

Please sign in to leave a comment.

We're Here To Help


Standard Support Hours: Monday-Friday 8AM-6PM CST
Looking for Premium Support? Just ask!

Speak to a live person
1 (800) 936-9006
Submit A Support Ticket
Submit Your Ticket Here