Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

submit to server issue

Status
Not open for further replies.

sixrfan

Technical User
Oct 10, 2008
6
US
i dont know if this is in the right forum but...

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:
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":
Code:
<?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!
 
This would be a really good post in this forum:

While WordPress is built on PHP, you would find a better audience in a forum dedicated to this commercial plugin.

This situation is a good reason to consider a GPL or otherwise more freely licensed plugin that you can hack to your heart's content.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top