dubaimultioptions Posted May 30, 2016 Share Posted May 30, 2016 We are on home page and posting search data on product cart page, This is our old code <form method="post" action="cart.php?a=add&pid=3"> <div class="row"> <div class="col-md-12 col-sm-10 col-sm-offset-1" style="margin-left:0;"> <div class="input-group input-group-lg"> <input type="text" class="form-control" name="sld" placeholder="YourName" autocapitalize="none" /> <span class="input-group-addon" id="start-date" style="color: red; font-weight: bold;"><span class="glyphicon" style="font-weight: bold;font-family: tahoma;">.YT</span></span> <input type="hidden" class="form-control" name="tld" autocapitalize="none" value=".yt"/> <input type="hidden" class="form-control" name="bid" autocapitalize="none" value="1"/> <span class="input-group-btn"> {if $registerdomainenabled} <input type="submit" class="btn btn-warning" value="{$LANG.search}" /> {/if} </span> </div> </div> </div> </form> Now our problem is we also have a bundle page so we want to use that, Instead of product page. SO we replaced cart.php?a=add&pid=3 with cart.php?a=add&bid=1 But now data(search string) is not going on bundle page. After submit page is first go to cart.php?a=add&pid=3 then it will redirect to cart.php?a=add&pid=3, And where we dont have searched string. So how we can post search string on bundle page? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2016 Share Posted May 31, 2016 i'm not sure that you can do this with product bundles, e.g pass configurations to it. as product bundles are effectively just envelopes containing product(s), I think that you can only link to it and then the user will go through the order process manually by selecting their configuration. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.