My client wants to display the shipping costs for a product on the product page. The webshop is going to use only one shipping method and the products are only selled national.
I tried to create my own module, but I can not yet find a way to retrieve the shipping costs if the product is known. I looked into the module files, but it seems to be hard to find the right function to call. How can I fix this problem?
Same problem here. My client has a small product list with a flat rate shipping for each item. They would like to display in the product page something like Price: £10.00 + £2.00 P&P.
It seems overkill that the shopper has to go to checkout then click the button to calculate shipping rates in this instance.
I'm trying to figure out how to do this too.
Although my needs are even simpler. I just need every product over $49.99 to display "SHIPS FREE". Sounds easy, but I don't see how to do it.
I would have thought you could use conditional php to check is the price field has a value over 49.99 and show the text if this is the case.
Interesting. Are you suggesting I use the custom price module (http://drupal.org/project/uc_custom_price) to inject the php I need to display "SHIPS FREE"?
I guess I can see how to evaluate the price, but how and where could I trigger this message?
I would just do it in a template tpl file, probably node-product.tpl.php.
That's right, GENIUS. Because then I can control the placement of where this message goes and put any divs around it I need.
Can you tell I am more familiar with searching for modules than writing php?
Well, I'm off to try and learn what to write and where to put it. I have already added some of my taxonomy terms as a "Keywords" section at the bottom of the product. So I hope doing this isn't too much more difficult.
Thanks for pointing me in the right direction.
