• Resolved Chris.V

    (@chrisv234)


    Hi,

    I am trying to force sell multiple variations of the same variable product with the variable product itself but when I try to add the product on cart it gives me a memory exhaustion error. I guess this is because it starts an infinite loop by trying to force sell a variation with itself.

    So, the scenario I am interesting is this. I want to force sell small-medium-large variations of the same t-shirt but also have them as a single variable product with different stocks per variation. I do not want to add each variation as a simple product. I want to force sell variations of the same product together and not variations of ‘var prod 2’ with ‘var prod 1’ which works as expected.

    Any snippet, hook or idea on how to implement this?

    Thanks in advance for any help or thoughts on the matter,

    Chris

    • This topic was modified 3 years, 10 months ago by Chris.V.
Viewing 1 replies (of 1 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @chrisv234

    Yes, that is right. It will start an infinite loop when trying to force sells the same product/variation.

    In this case, you can try another plugin from us is WPC Product Bundles to bundle a variable product with its self.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with force selling variation with the variable product itself’ is closed to new replies.