This object is in archive! 

Shopping cart checkout error

Pascal C. shared this question 7 years ago
Answered

Hello,


There seems to be an encoding error when I checkout from my product pages like this one:

http://www.charlottepartyrentals.net/concessions/popcorn-machine-blue-top/

The URL generated is this one: http://www.inflatableoffice.com/quotes/quoteme.php?rental_names=%0D%0A++++++++Bouncy+Boxing%0D%0A++++-1%7C%0D%0A++++++++Bounce+House+W%2FHoop%0D%0A++++-1%7C%0D%0A++++++++Popcorn+Machine+Blue+Top%0D%0A++++-1%7C&name=Charlotte+Party+Rentals&clear_rentals=1

I guess the "+++++" prevents the URL from being correctly read. Is there something I can do correct that? Thanks.

Comments (5)

photo
1

The book now button generated the proper url for me in Chrome. Is that the same button you're referring to with your url? Also what web browser are you testing in?

photo
1

The book now button works fine, I am referring to the checkout button in the basket (located just above the article, on the right). If you add the article to the basket, then click "checkout", you should be able to replicate the error.


I'm using Google Chrome.

Thanks!

photo
1

In Wordpress, in Settings-> Shortcoder, What do you have in the shortcode (text page) for io_cart? When you paste this code in this comment are, highlight it, and click the tool above in the toolbar that looks like this: <> so that this comment editor doesn't reformat the text you pasted in

photo
1

  • Here it is:
  • <div id="cartPopover">
    1. <div id="triangle">▲</div>
    2. <div id="cartData" class="clearfix"> </div>
    3. <div id="popoverButtons" class="clearfix"><a class="simpleCart_checkout hudbtn primary right">Checkout</a></div>
    4. </div>
    5. <div id="io-dialog" style="display: none;">
    6. <div style="text-align: center; margin: 10px;">
    7. <div style="font-size: 32px; margin-bottom: 10px;">Added to Cart!</div>
    8. <div class="simpleCart_checkout hudbtn primary" style="margin: 12px;">Checkout</div>
    9. <div><a style="color: blue; text-decoration: underline;">Continue shopping</a></div>
    10. </div>
    11. </div>
    12. <script src="//http://www.inflatableoffice.com/javascript/simpleCart.js">;
    13. <script>// <![CDATA[
    14. simpleCart({
    15. checkout: {
    16. type: "SendForm",
    17. method: "GET",
    18. url: "//http://www.inflatableoffice.com/quotes/quoteme.php";,
    19. extra_data: {
    20. name : decodeURIComponent("%%page%%".replace(/[+]/gi, " ")),
    21. clear_rentals : "1"
    22. }
    23. }
    24. });
    25. $( "#io-dialog" ).dialog({
    26. autoOpen: false,
    27. resizable: false,
    28. modal: true,
    29. dialogClass: 'noTitleStuff',
    30. width: 350,
    31. open: function(){
    32. jQuery('.ui-widget-overlay').bind('click',function(){
    33. jQuery('#io-dialog').dialog('close');
    34. })
    35. }
    36. });
    37. function cartShow() {
    38. $("#cartPopover").show();
    39. $(".cartInfo").addClass('open');
    40. $(this).one("click", cartHide);
    41. }
    42. function cartHide() {
    43. $("#cartPopover").hide();
    44. $(".cartInfo").removeClass('open');
    45. $(this).one("click", cartShow);
    46. }
    47. $(".cartInfo").one("click", cartShow);
    48. $(".item_add").click(function(){
    49. $("#io-dialog").dialog("open");
    50. $(".cartInfo").fadeIn(150).fadeOut(150).fadeIn(150).fadeOut(150).fadeIn(150);
    51. });
    52. // ]]></script>

    photo
    1

    I can see some errors in what you've pasted in that box. Please refer to this document again, and re-copy the code in the io_cart shortcoder.

    Replies have been locked on this page!