No announcement yet.

Display shipping cost for Mainland UK on the product page

  • Filter
  • Time
  • Show
Clear All
new posts

  • Display shipping cost for Mainland UK on the product page

    I would like to give customers a ball-park figure of how much postage would be for mainland uk. We use weight-based shipping. Can can the shipping table be accessed dynamically (ie. not hard-coded) so that postage chage can be displayed on the product page ?

  • #2
    In a nutshell, yes. But you'll need to do some coding.

    I can think of a couple of ways of doing this.

    1) Use PHP in sellerdeck to produce the Shipping cost before upload.

    If your Shipping Charge setup is relatively straightforward you could just build the calculation into your PHP code. If it's complicated your code might need to access the database to do the calculation.

    2) Use a script on the webpage to do it when the page is viewed.

    This is going to be more complicated as you'd have to first look up the weight of the product and then look up the shipping charge.

    Personally, I'd go for the first option.


    First Tackle - Fly Fishing and Game Angling



    • #3
      Thanks - I was also pretty sure it could be done, but the question is how? Does anyone have any code that might fit the bill ?