Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: "OR(||)" operator in Requires Product

  1. #1
    Rita is offline Senior Member
    Join Date
    Mar 2009
    Posts
    124

    Default "OR(||)" operator in Requires Product

    Is it possible to have "OR" symbol in Requires product when we are creating an product? Like 3 || 4 || 5. Is it possible through Custom coding? If so Please help me how and where can i check this OR condition?
    Your help would be greatly appreciated. Thanks in advance.

  2. #2
    Louie is offline Senior Member
    Join Date
    Oct 2008
    Posts
    126

    Default

    With this kind of situation I suggest that you use the kit product and then use the Single Select Radio List.

    See this link http://manual.aspdotnetstorefront.co...-products.aspx for reference.

  3. #3
    Rita is offline Senior Member
    Join Date
    Mar 2009
    Posts
    124

    Arrow

    Quote Originally Posted by AspDotNetStorefront Staff - Louie View Post
    With this kind of situation I suggest that you use the kit product and then use the Single Select Radio List.

    See this link http://manual.aspdotnetstorefront.co...-products.aspx for reference.
    No. Thanks for your suggestion. But we cant make kit product here.
    we would like to offer a free product(100) for different products(5,10,14,50). So I added Requires Product as 5,10,14,15 in free product(100). In this situation, when I add product ID 5 and 100 into cart, its adding 10, 14, 15 also into the cart. But I would like to have combination of 5 and 100 || 10 and 100 || 14 and 100 || 15 and 100 in cart. That why I thought of option to add "OR" operator in requires product.
    Is there any direct solution for this? Please suggest me some solution for this.

    Thanks in advance.

  4. #4
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    You could add the item you want to be free as an upsell item with a 100% discount to the other products (5,10,14,50)


    TTFN

    BFG

  5. #5
    Louie is offline Senior Member
    Join Date
    Oct 2008
    Posts
    126

    Default

    Yes, this would do. I thought you were looking for an OR option. Thanks for clarifying that you wanted a AND/OR feature. Refer from the link below:

    http://manual.aspdotnetstorefront.com/p-471-upsell.aspx

  6. #6
    Rita is offline Senior Member
    Join Date
    Mar 2009
    Posts
    124

    Arrow

    Quote Originally Posted by BFG 9000 View Post
    You could add the item you want to be free as an upsell item with a 100% discount to the other products (5,10,14,50)


    TTFN

    BFG
    Thanks for your quick reply and answer. But Our clients wants to add the item automatically. So I would need to use Requires product option. And 100% discount I will be giving using Coupon code. Actually I would like to achieve Buy one get one free using coupon code with little code change in shoppingcart.aspx.cs Processcart method. Can you please suggest me any other options? Your reply will definitely help for me.