• Resolved chintangrapes

    (@chintangrapes)


    Hi @emptyopssphere

    I am facing one issue with your plugin that I can not add same setting product into cart with another diamond. Why we can’t add different combination into cart? I know main setting product is same in that combination but diamond is different!

    And if I want to do this , what I can change into it ? Hope you’re getting my point.

    Please help me with this issue.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sphere Plugins

    (@emptyopssphere)

    Hello, @chintangrapes,

    Why we can’t add different combination into cart?
    => You should be able to add different combinations if the product itself is not set to Sold individually or the stock is set to 1(here the item is in the cart already so can not be bought again as the only one available).

    And if I want to do this , what I can change into it ? Hope you’re getting my point.
    => You do not need to make changes in the plugin. Please verify the product stock and availability.

    Thanks

    Thread Starter chintangrapes

    (@chintangrapes)

    Hi @emptyopssphere

    Thanks for the reply. I checked it earlier and my all products marked as false in Sold individually attr already. But it doesn’t helped me. So I asked you guys. And you also said the same so I debugged the code and changed method which was fetching this attr’s value. First it was always returning true and now it is returning me proper value. So finally I solved the issue.

    Thanks for the suggestion. I have another query let me raise another ticket for it.

    Thank you again.

    Plugin Author Sphere Plugins

    (@emptyopssphere)

    Hello, @chintangrapes,

    Good to know your issue is resolved.
    Regarding the debugging, may I know what exactly was causing the issue?

    You are always welcome to create a ticket.

    Thanks

    Thread Starter chintangrapes

    (@chintangrapes)

    Hi @emptyopssphere

    It was not from your side and issue is coming from woocommerce itself. So I changed is_sold_individually to get_sold_individually.

    I hope it is right way to do it. What you say ?

    Plugin Author Sphere Plugins

    (@emptyopssphere)

    Hello, @chintangrapes,

    Thanks for the detail, and thanks for marking this ticket resolved.

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t add setting more than once in cart with different diamond’ is closed to new replies.