sixrfan Posted March 3, 2011 Share Posted March 3, 2011 i'm using the Shopp ecommerce plugin for wordpress an having some trouble. if you go to http://guitarstorage.com/wordpress/shop/guitar-display-rack/, 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. So the shipping estimator functinality works on a country level. 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, even though there's different rates for each state in the database. So how do I get the cart form to be updated/submitted to the server so the new rates display for different US States??? here's the code from my cart.php page: http://pastebin.com/L68pNQt6 And 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'); ?> "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! Quote Link to comment https://forums.phpfreaks.com/topic/229527-submit-to-server-functionality-for-wordpress-shopp/ 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.