Forums

[Plugin: eShop] Shipping table (10 posts)

  1. misskarenjane
    Member
    Posted 2 years ago #

    Hi,
    Just a quick question. Is it possible to edit the shipping table anywhere? I only need to use 3 zones, so 4 and 5 would be redundant. I'd also like to be able to rename the zones in the title of the chart.
    Thanks again,
    KJ

  2. Rich 'elfin' Pedley
    Moderator
    Posted 2 years ago #

    Editing shipping amounts and zones are handled here:
    wp-admin/admin.php?page=eshop_shipping.php
    with the zones editable on the countries and state/counties/province pages.

    If you check the help page you'll see that you can hide zones on the public page - check [eshop_show_shipping] and shipclass.

    You can't rename them, unless you want to upload an .mo (translated text) file. the po file for this is availavle via quirm.net.

  3. misskarenjane
    Member
    Posted 2 years ago #

    Cool, thanks. Can see how to hide shipping class with (shipclass) attribute, but not how to hide zones.

  4. Rich 'elfin' Pedley
    Moderator
    Posted 2 years ago #

    You're right, my apologies. You can only hide classes.

    I'll add the ability to hide zones into a future release.

  5. d3ptzz
    Member
    Posted 2 years ago #

    can we add zone? i just need 2 class but a lot of zone..

    how i can do this?

  6. Rich 'elfin' Pedley
    Moderator
    Posted 2 years ago #

    you can't, without delving into and amending a lot of code.

  7. ewa_demia
    Member
    Posted 2 years ago #

    That is exactly what I want to do, remove some "class" sections. I didn't find on the help page though how to do it. There is nothing in the shortcodes or shipping section about it.

    So I would like to know, what is the rest of the code if I want to remove say, 3 rows of the shipping table. And where should I add the code.

    Thanks!

  8. Rich 'elfin' Pedley
    Moderator
    Posted 2 years ago #

    from the help page within eShop:
    [eshop_show_shipping] (automatically added to the Shipping Rates page) can now be amended via the attribute shipclass. example shipclass='A,B,F' would only display shipping classes A, B and F (dependant on the shipping rate calculation used).

  9. ifranky
    Member
    Posted 2 years ago #

    You can delete all (but one) zone on the shipping.php page and then (via phpMyAdmin) delete zone 2-5 in the dbase if you feel that adventurous.

    I also needed only one shipping zone. I then entered the table with only 1 zone manually on the shipping rates page, instead of using the shortcode. Back to basics and writing tables :)

  10. Rich 'elfin' Pedley
    Moderator
    Posted 2 years ago #

    or you could just not use the shortcode, and create the table yourself.
    That way whatever you use in the back end can be whatever you want. You will have to remember to change the table when you amend shipping though.

Topic Closed

This topic has been closed to new replies.

About this Topic