submit to server functionality for Wordpress Shopp

Discussion in 'eCommerce' started by sixrfan, Mar 3, 2011.

  1. #1
    i'm using the Shopp ecommerce plugin for wordpress an having some trouble.

    if you go to this page, select any one of the product versions, then click "Add to Cart and Calculate Shipping", you will then find yourself on the "Cart" page.

    So here's where I'm having trouble. If you change the shipping country to canada, then click "Update Subtotals", you'll notice that the shipping price changes to the Canadian price of $20.

    However, each state has its own shipping rate too. So if you switch the country back to USA, then select any state from the dropdown, and click "Update Subtotals", you'll see that the shipping price never changes from $10.

    So how do I get the cart form to be updated/submitted to the server so the new rates display???

    here's the code from my cart.php page: http://pastebin.com/L68pNQt6

    here's the section of the Shopp documentation that talks about shipping-estimates. you'll notice it only mentions "a list of countries fro shipping destinations":

    <?php shopp('cart','shipping-estimates'); ?> 
    PHP:
    "Displays a drop-down menu that provides a list of countries for shipping destinations. This menu allows the shopper to select a shipping destination country to get a shipping quote without the need to fill out their entire shipping address. It should be noted that there is no submit button to go with the menu. JavaScript functionality is built-in to Shopp to detect when the menu is present and auto-update when the setting is changed. If the auto-update fails, the shopper can also use the button displayed by shopp('cart','update-button')."

    State estimates are not built in. So i'm trying to figure out how to get trigger the estimate when a state is selected.

    please advise. thanks in advance!
     
    sixrfan, Mar 3, 2011 IP
  2. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #2
    can anyone please help???
     
    sixrfan, Mar 18, 2011 IP
  3. globegenius

    globegenius Active Member

    Messages:
    634
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Yes, first suck the eyes out of your face and make sure the code is right. Sometimes when you copy and paste code from one browser to another, numbers or letters will drop or change from original code.
    I imagine you tried different frames. Some scripts are better than others. If too much trouble, scrap and use another script. Lots of online payment processors out there.
    Thats my advice. No charge, lol

    [​IMG]
     
    globegenius, Mar 18, 2011 IP