I have enabled guest checkout, i need if virtual products available in cart login mandatory, how can i set the condition like if virtual products available in cart login mandatory.

  • @AsadKhan Actually mine case virtual products, and may i know where you adding the condition? – zus Jun 24 at 7:55
  • @AsadKhan Let me ask one question, its just my idea i don't know whether its possible or not. If click virtual product add-to-cart button shall we add script to add-to-cart button function and check the condition like virtual products need sign-in, if not sign-in virtual products not able to add add-to-cart, and make sure one thing, only for selected id based products, rest of the virtual products purchase as a guest customer. Make me a pardon if i wrong. – zus Jun 24 at 8:00
  • I'm not sure but I think if you want to download Virtual Products without Logging In then you have to make such a condition in which when customer want to buy anything virtual then randomly a random user (your created) will be logged In.. then it will be easily possible.. (it is just my guess may occer many errors or maybe not possible this scenarion) – Asad Khan Jun 24 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.