HTML - Shopping Carts - How To Integrate?
Hi
Just wondering what the best design practice is when it comes to adding a shopping cart to your website? Should you find shopping cart software, and build the site around it, or is it possible to integrate a cart into an existing site? The site I'm working on is mainly to provide info to clients, but will also have a small line of products for sale. Also, are there any carts that allow you, once a user has logged in, to only see certain products? Cheers Shaun Similar TutorialsI am searching for freeware PHP shopping carts uses div XHTML 1.0 strict. Unfortunately i found only Quick.Cart: http://opensolution.org/?p=Quick.Cart I found more like Zen-Cart, CubeCart but this carts use XHTML 1.0 transitional and use to much table's. Please help and give some shopping carts whit XHTML 1.0, 1.1 but without tables as a basic construct. So this is my first post and first major attempt at some serious coding. I'm tackling a project beyond my current skill level, so please bear with me as I use this as a learning opportunity. Here's a crappy sketch of what I'm trying to accomplish: http://i.imgur.com/1Qwhs.png Basically, I'm looking to create a website that allows someone to search for a particular artist and have the albums generated based on the wikipedia page. I think it then makes sense to generate check boxes for the album names, so that users can check an album and see mediafire or rapidshare links based on the artist and album. I realize that I'm revealing my idea and that anyone interested could steal it. I'm mostly just looking to learn from this right now, though. Anyway, if someone could just point me toward some resources as to what would be required in a project like this, or give me an idea as to how to start, I'd really appreciate it. Let me know if you have any questions. Thanks I have made my site using html and css. I wanna make forums but dont want it to be external and want it to be part of my html page with same header and foooter. I DONT WANT IT TO CHANGE HEADER OF FOOOTER oF FORUMS. In other words I mean my forums to be integrated in html or when I click link on my html website in the same page the forums come. Any suggestion would be appreciated Hi, I am designing a website for a client who wants a blog/news feed integrated into the homepage. Ideally she would be able to log in to a module (like Wordpress) and post news updates. I'm wondering what is the best way to go about building a website that accommodates a blog/news feed. Should I use Wordpress to build the whole site? Or is that too limiting? Should I build the site in PHP and the integrate a wordpress blog onto the homepage? If so, can someone direct me to a tutorial that explains how to do this? In general, how difficult is this to accomplish? I'm new to web design but am a quick learner. Thanks! Chloe The php script I'm using for a video-sharing site, uses JWplayer as the default player. JWplayer has different embed code to embed the player and allow video files to be played from a different source than the php script source. I want to replace or modify the script code for the Player with the JWplayer code (so it'll play videos from the other source) which shows the other source as http://videos.mywebsite.com/myvideo.flv. How can I modify or integrate this script code with the code below it (the JWPlayer code)? Do I just need to change a few lines? Thanks for any guidance. Script Code: Code: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" name="theMediaPlayer" width="300" height="280" id="theMediaPlayer"> <param name=movie value="flvplayer.swf"> <param name=quality value="high"> <param name=bgcolor value="#FFFFFF"> <param name=allowFullScreen value="false"> <param name=swLiveConnect value="true"> <param name=allowScriptAccess value="sameDomain"> <param name="FlashVars" value="file=uploads/[var.video_play]&width=315&height=280&displaywidth=315&displayheight=260&overstretch=true&showfsbutton=false&image=uploads/thumbs/[var.video_thumb]&backcolor=0xFFFFFF"> <embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="300" height="280" bgcolor="#FFFFFF" name="theMediaPlayer" src="flvplayer.swf" flashvars="file=uploads/[var.video_play]&width=315&height=280&displaywidth=315&displayheight=260&overstretch=true&showfsbutton=false&image=uploads/thumbs/[var.video_thumb]&backcolor=0xFFFFFF"></embed> </object> JWPlayer code: Code: script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> swfobject.registerObject("player", "9.0.0", "expressInstall.swf"); </script> <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="328" height="200"> <param name="movie" value="player.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="file=http://videos.mywebsite.com/myvideo.flv" /> <object type="application/x-shockwave-flash" data="player.swf" width="328" height="200"> <param name="movie" value="player.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="file=http://videos.mywebsite.com/myvideo.flv" /> <p><a href="http://get.adobe.com/flashplayer">Get Flash</a> to see this player.</p> </object> I am in the process of adding a shopping cart to my website. I am using securenetshop. The reason I went with them is that even a dummy like me can use and set it up. But, one thing i don't like is, when you add a cost to the basic price, Like different finish etc.instead of showing the new price it just says +$00 and doesn't give the total until you go to check out. Is there a small html code I can add to the code below that would give my customer a total on page of the one particular item. I hope that made sense, cause it confused the h--l out of me. Here is the code. If you meed to see what i am talking about Its at www.majikmushroom.com Thanks for any help, Majik <form method="post" action="http://www.ewebcart.com/17856/cart"> <fieldset style="border:0;margin:0;padding:0"> Finish<br /> <select name="option1|Finish"> <option value="Unfinished 768.00">Unfinished 768.00</option> <option value="Finished Clear|153.00">Finished Clear- Add $153.00</option> <option value="Golden Oak|245.00">Golden Oak- Add $245.00</option> <option value="Colonial Maple|245.00">Colonial Maple- Add $245.00</option> <option value="Early American|245.00">Early American- Add $245.00</option> </select><br /><br />Quantity: <input name="quantity" value="1" size="3" /><input type="hidden" name="item_id" value="4" /> <input type="submit" name="add" value="Add to Cart" /> </fieldset> </form> Hi, I'm about to build a new website that I want to be able to sell about 30/40 products on. I've never had any experience with ecommerce and was wondering where to start. Does anyone know of a good, simple package to use. I don't mind spending a bit but don’t want to break the bank. I was thinking of Paypal's Pro Solution. It's $30/month which isn't too bad and keeps credit card transactions on the website (doesn’t wonder over to paypal). Does anyone have any experience with Paypal Business? Any information would be great. Thanks i am currently using mal's e shopping cart using forms to send the info. what i need help with is setting up a quantity. i have limited supply on items and i would like to make it so that over-ordering wont happen. ultimately i would like the quantity to show on the site and update everytime a new order is placed. i am using dreamweaver cs4 and i am new to this. please and thanks now many more people prefer to do shopping on-line. but some one dont know how to do it .i will make an example to introduce a convenient way for shopping. for example,i usually do some shopping in www.ant-shopping.com .first,you should become the member of the website,it will be free. second,you can put something you need in your shopping cart. third,you will choose something you want to make the payment by paypal. it is safe and convenient for us. i think you will love shopping on-line soon. is there a code to make a shopping cart? I'm sure the answer is right under my nose, but I am somehow missing it. Shopping cart will not accept the product purchase on one of my pages. It works fine for the other products on the same page. The page in question is: http://www.plainlydressed.com/girlsclothing.html The customer has no problem adding any products to their cart except for the "Girls Bloomers." It simply won't add it to the cart. I have compared tags to find the problem, but it all looks identical to me, so I'm not sure what I am missing. I will list the tags for the product just above it, which works fine, and then will follow with the tags for the Girls Bloomers (the item in question). What am I missing? Thanks in advance for any help and direction: THIS PRODUCT WORKS FINE: <b>$30.00</b> </div> <form action="http://ww7.aitsafe.com/cf/add.cfm" TARGET="new" method="post"> <div align="center"> <input type="hidden" name="product[]" value="Girl/Baby Dress & Apron"> <input type="hidden" name="userid" value="9434136"> <input type="hidden" name="price" value="30.00"> <input type="hidden" name="quantity" value="1"> Select Size <select name="product[]"> <option value="Newborn">Newborn</option> <option value="6 Months">6 Months</option> <option value="12 Months">12 Months</option> <option value="18 Months">18 Months</option> <option value="2T">2T</option> <option value="3T">3T</option> <option value="4T">4T</option> </select> <BR> Select Dress Color <select name="product[]"> <option value="Black">Black</option> <option value="Navy">Navy</option> <option value="Royal Blue">Royal Blue</option> <option value="Hunter Green">Hunter Green</option> <option value="Light Green">Light Green</option> <option value="Light Blue">Light Blue</option> <option value="Purple">Purple</option> <option value="Lavender">Lavender</option> <option value="Soft Pink">Soft Pink</option> </select> <BR> Select Apron Color <select name="product[]"> <option value="Black">Black</option> <option value="White">White</option> <option value="Other - Solids Only">Other Solids Only</option> </select> <BR> <input type="submit" value="Buy Now"> </div> </form> <FORM METHOD="post" ACTION="http://ww7.aitsafe.com/cf/review.cfm"> <div align="center"> <p> <INPUT TYPE="hidden" NAME="userid" VALUE="9434136"> <INPUT TYPE="submit" VALUE="Review Cart"> THIS PRODUCT CANNOT BE ADDED TO THE SHOPPING CART: <b>$20.00</b> </div> <form action="http://ww7.aitsafe.com/cf/add.cfm" TARGET="new" method="post"> <div align="center"> <input type="hidden" name="product[]" value="Girls Bloomers" /> <input type="hidden" name="userid" value="9434136" /> <input type="hidden" name="price" value="20.00" /> <input type="hidden" name="quantity" value="1" /> Select Size <select name="product[]"> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </select> <br /> Select Fabric <select name="product[]"> <option value="White Broadcloth">White Broadcloth</option> <option value="White Cotton Flannel">White Cotton Flannel</option> </select> <br /> <input type="submit" value="Buy Now"> </div> </form> I think this is a table issue? Take a look at www.yourposstore.com. Put a product in the cart and go to your cart. I am looking to make the width fit within the perimeter of the white area of the template. Say you have radio buttons, text field and wanted to have a updated page above where you are entering the data, how would you write this code? the updated page would show you what you have in the input fields. I am not sure where to post this but here goes. I am trying to find a way to use javascript (I no nothing about this) to pass to our PayPal shopping cart the right shipping and handling charge. I was told that javascript would be able to help? We are selling 3 things that all have a different price and different shipping charge. The shopping cart works if someone purchases just one item but if someone purchases multiple different items we are charging too much shipping and handling. What I would like to do is take the maximum charge of the items chosen and only charge that amount. One problem I may have is different sizes of the same item seem to take on it's own shipping and handling charge for each size. Here is an extract of my PayPal Shopping Cart html.... First Item For Sale: <input type="hidden" name="add" value="1"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="abc@123.com"> <input type="hidden" name="item_name" value="2008 Calendar"> <input type="hidden" name="amount" value="16.95"> <input type="hidden" name="shipping" value="10.00"> <input type="hidden" name="shipping2" value="2.00"> <input type="hidden" name="tax" value="1.02"><!-- this is 6% tax GST + no PST on $16.95 --> <input type="hidden" name="buyer_credit_promo_code" value=""> <input type="hidden" name="buyer_credit_product_category" value=""> <input type="hidden" name="buyer_credit_shipping_method" value=""> <input type="hidden" name="buyer_credit_user_address_change" value=""> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="currency_code" value="CAD"> <input type="hidden" name="lc" value="CA"> <input type="hidden" name="bn" value="PP-ShopCartBF"> Second Item For Sale: <input type="hidden" name="add" value="1"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="abc@123.com"> <input type="hidden" name="item_name" value="OPC Magazine - Issue # 2"> <input type="hidden" name="amount" value="9.99"> <input type="hidden" name="shipping" value="2.00"> <input type="hidden" name="shipping2" value="1.00"> <input type="hidden" name="tax" value="0.00"><!-- no taxes on magazines --> <input type="hidden" name="buyer_credit_promo_code" value=""> <input type="hidden" name="buyer_credit_product_category" value=""> <input type="hidden" name="buyer_credit_shipping_method" value=""> <input type="hidden" name="buyer_credit_user_address_change" value=""> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="currency_code" value="CAD"> <input type="hidden" name="lc" value="CA"> <input type="hidden" name="bn" value="PP-ShopCartBF"> Third Item For Sale - Contains 4 different sizes to choose from: <td><input type="hidden" name="on0" value="Size"> <strong>Size</strong></td> <td><select name="os0"> <option value="Medium">(M) Medium <option value="Large">(L) Large <option value="Extra Large">(XL) Extra Large <option value="Extra Extra Large">(XXL) Extra Extra Large</select> </td> </tr> <tr> <td><input type="hidden" name="on1" value="Colour"> <strong>Colour </strong></td> <td><select name="os1"> <option value="Navy Blue">Navy Blue</select> </td> </tr> </table> <p> <input type="image" src="https://www.paypal.com//en_US/i/btn/sc-but-03.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> <input type="hidden" name="add" value="1"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="abc@123.com"> <input type="hidden" name="item_name" value="OPC Golf Shirt"> <input type="hidden" name="amount" value="19.99"> <input type="hidden" name="shipping" value="11.00"> <input type="hidden" name="shipping2" value="5.00"> <input type="hidden" name="tax" value="2.80"><!-- this is 6% tax GST + 8% PST on $19.99 --> <input type="hidden" name="buyer_credit_promo_code" value=""> <input type="hidden" name="buyer_credit_product_category" value=""> <input type="hidden" name="buyer_credit_shipping_method" value=""> <input type="hidden" name="buyer_credit_user_address_change" value=""> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="return" value="http://www.outdoorphotographycanada.com/storethankyou.html"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="currency_code" value="CAD"> <input type="hidden" name="lc" value="CA"> <input type="hidden" name="bn" value="PP-ShopCartBF"> Thank you in advance for any assistance you can provide. Dave. Hello, I'm having a problem with a form-style shopping cart button where some unwanted space appears to show up in IE, Safari, and Chrome. It doesn't show up in Firefox however. We're using a Paypal shopping cart system and I used the code they gave me. Any help would be appreciated. Thanks! Website address: http://sunglasseslounge.com/ code problem area: <td align="right" background="images/middlebar.gif"> <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7----- MIIG1QYJKoZIhvcNAQcEoIIGxjCCBsICAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBA gTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2 ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKo ZIhvcNAQEBBQAEgYCprp2mKFp0CqxpxESBrrW9x9tBiiR1CHzG1Iqop1D0vNd2yNIQgXjK7MKpYB5S6KNyHeH1 A4Z7wf177qB4sqJ5i2eyePHEDIy5ZKz1p1v8tRG/4j3jRyz0mUgGytjZknE3HV715Bok86CXOkrv4k4FQKZXv/ UqfDU6HsGXtdJpKzELMAkGBSsOAwIaBQAwUwYJKoZIhvcNAQcBMBQGCCqGSIb3DQMHBAi57/nTcuMddYAwXEEJ hL5hsZdy+lwww54hkp0yuZpzunWFJeb+m39i7ynbNXIBAnAf/iWatwSs8HmpoIIDhzCCA4MwggLsoAMCAQICAQ AwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4g VmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYX BpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXl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IFZpZXcxFDASBgNVBAoTC1Bh eVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJAR YNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG 9w0BCQUxDxcNMDgxMDE4MTgyMzE1WjAjBgkqhkiG9w0BCQQxFgQU2vTwOAPDkLyr/VRnNINEuy82xW4wDQYJKo ZIhvcNAQEBBQAEgYAjKOuqysYH6bTqbGioCauhLsPoqz5vxYW9Tf4RKCb5tPiye9toc/8BRj38UFj1J2fVyMI9 eKT6HgWTdkX1Rp1FATc4oGv4xCEiQ5DD4yaaMu3QLvKOG3kvdoFEahGmCeYWnB+afdXlZllL0n034nOHJvkr/S ztcERVPE7TG7Iycw==-----END PKCS7-----"> <input type="image" src="images/cart.gif" border="0" width="75" height="30" name="submit" alt=""> </form> </td> I have a paypal shopping cart here. However the first add to shopping cart button under the text Sparky and the Magic Garden, does not work. I've isolated the problem to this: There is no form tag around this button where as in the other buttons the form tag is there. I spotted this by looking at it in firebug. However the strange thing is is that when I look at the code in the view source then the first button is surrounded by a form tag. as in all the other buttons. This site needs to go live this Monday so if anyone could offer some advice I would be extremely grateful. |