E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic: | |
| |
|
SalarO member Posts: 3 |
Hi It seems this is the most popular question in the forum and most of the answers seems to be just to refer the person with difficulty to http://www.e-junkie.com/ej/help.variants.php which to be honest is not detailed enough. I have a simple requirement I have a product with two size, and therefore two price and a single shipping cost So In product configuration, I click Shipping/Handling - Send Payment Data to your server - Variants having individual Price/weight/stock/sku pressing submit gives me the new page which has and I only fill out the option 1 for size as fabric colour other is not relevant since it is a Perfume that comes in two bottle size. 30ml, 75ml Option 1 Name >> Size Option 2 Name Option 3 Name Then the help page talks about "Enter the details of each variant in the box below SKU,Price, Ounces, Stock, Option1Value, Option2Value, Option3Value so far good I add JoopEDTSpray30ml,21.99,30,100,30ml JoopEDTSpray75ml,31.99,75,100,75ml The store looks great but making a dropdown choice of say 30ml and clicking add to cart does not work? I wonder if you have any ideas what I may be doing wrong. here is the resultant script < form action="https://www.e-junkie.com/ecom/gb.php?c=cart&i=68865&cl=11300&ejc=2" target="ej_ejc" method="POST" accept-charset="UTF-8"> Size:<br/> <select name="o1"> <option value="30ml">30ml</option> <option value="75ml">75ml</option> </select> <br/> <input type="image" src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this.parentNode);"/> < /form > # POSTED ON: December 6, 2007 @ 11:55 GMT -7 |
|
E-junkieChef E-Junkie Crew Posts: 936 |
Hello SalarO The code seems to work perfectly. What's the issue that you are facing with it? Can you please post the link to the page where you have posted the code and it's not working? # POSTED ON: December 6, 2007 @ 13:00 GMT -7 |
|
SalarO member Posts: 3 |
Many thanks here are more details I have been integrating the E-Junkies solution in our DotNetNuke Content Managment System This is because We got fed up with intergrated e-commerce modules that were too complex to setup and were always out of phase with the core CMS when it was upgraded. The solution works really well in the portal with a straightorward one Variant Product. Please see here http://www.salaro.com/Store/tabid/139/Default.aspx However, as soon as we have variants it fails. like here http://pinkandblue.from.co.uk/main/Store/tabid/73/mid/423/ProjectId/ 155/wildRC/4/Default.aspx The product we are trying to test is Joop I doubt if there are anything unusual happening here. the page source isnt showing anything wrong Any help is appreciated. ( I may be doing something so silly that is due to working on this or hte last 5 hours none stop) Regards Salar One More Thing the same portal the one variant option works just fine. http://pinkandbluegifts.com/Store/tabid/73/mid/423/ProjectId/173/ wildRC/1/Default.aspx # POSTED ON: December 6, 2007 @ 14:23 GMT -7 MODIFIED ON: December 6, 2007 @ 14:26 GMT -7 |
|
E-junkieChef E-Junkie Crew Posts: 936 |
In your page start, below body, you have a <form> tag .. which you close just before </body> So the whole page, including our FORM in enclosed "inside" your form which spans the whole page. HTML does not support nested forms. # POSTED ON: December 6, 2007 @ 14:27 GMT -7 |
|
SalarO member Posts: 3 |
Oops Of Course. many thanks shows how simple it was. Is there any workaround. Your fixed variant does not have the form, So may be I have to define each variant as a separate product? Salar # POSTED ON: December 6, 2007 @ 14:54 GMT -7 |
|
E-junkieChef E-Junkie Crew Posts: 936 |
If you can maybe move all the dynamic elements to top of the page and then close the ASPX main form before you add E-junkie buttons. I am not sure if this is possible for you though as I've never worked with ASP.NET This might help: http://www.velocityreviews.com/forums/t92646-nested-forms-in- aspnet.html (I googled asp.net + nested forms) # POSTED ON: December 6, 2007 @ 16:09 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






