WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Correios
[resolved] Error Message and lack of state name display (23 posts)

  1. sombrapoetica
    Member
    Posted 4 months ago #

    Hello,

    I am attempting to use your plugin but everytime I try to simulate a shipping calculation I get the standard error message (I'm sorry it appears there are no shipping methos available etc)

    Also, the drop down menu for selecting the states does not show names, only numbers.

    Please could you help?

    Many thanks,
    Lara.

    http://wordpress.org/plugins/woocommerce-correios/

  2. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    Please do not ask me questions answered in this FAQ:
    http://wordpress.org/plugins/woocommerce-correios/faq/

    Read the FAQ and installation guide before asking questions.
    Please...

  3. sombrapoetica
    Member
    Posted 4 months ago #

    I have already read those and obviously found them of no help. All it says is the error message is probably due to incorrect dimensions configurations, but doesn't say what would be the correct ones or how to correct them, and NOWHERE does it say anything about states showing up as numbers instead of names.

    Please read through what someone has asked for without rudely dismissing it first.

  4. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    If you read. where the error log for me to tell you what's wrong?
    Or you skipped the part about the log?

    I'm not being rude, you who was rude to be open topic or read the FAQ generated the log!

  5. sombrapoetica
    Member
    Posted 4 months ago #

    It's not rude to ask for help, which is what I'm doing. Nowhere on your faq does it say how I get the log so I can send it to you. I guess you're just now finding out how lacking your faq is?

    Also since the log is presumably for the error message, that still doesn't solve the all the states are showing up as numbers problem.

  6. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    Here my friend:

    É possível identificar o erro ligando a opção Log de depuração nas configurações dos Correios. Desta forma é gerado um log dentro da pasta wp-content/plugins/woocommerce/logs/. Ao ativar esta opção, tente realizar uma cotação de frete e depois verique o arquivo gerado.

    Caso apareça no log a mensagem WP_Error: connect() timed out! pode acontecer do site dos Correios ter caido ou o seu servidor estar com pouca memoria.

    And here:

    Mais dúvidas relacionadas ao funcionamento do plugin?

    Ative a opção de Log de depuração do plugin e entre em contato clicando aqui. Atenção! Não adianta pedir ajuda se não tiver o log em mãos.

    Ok, you did not read the FAQ, so I already knew.

    Now I want to see this log!
    Can you enable the option and try to make a order?

    Problem with the states may not have been generated by my plugin.
    Because, the plugin only quotes the freight and sends the values ​​to WooCommerce.

  7. sombrapoetica
    Member
    Posted 4 months ago #

    Actually I had read that. However, it doesn't say where to find those folders. It was a simple thing of just saying you can find them in the ftp, instead of being snarky about it.

    Also you are completely ignoring the promblem of not showing state names, which I really can't work with. How am I supposed to simulate a purchase if I don't know what state it is going to ? What exactly is state 16? Or 4?

    [ 1,217 lines of code moderated, that's just way too much. For that many lines of code please use pastebin.com instead. ]

  8. sombrapoetica? If you do not know where the error log file for your web server can be accessed then perhaps your web host can assist you.

    If you do copy that data here please make sure to use the code button or backticks.

    http://codex.wordpress.org/Forum_Welcome#Posting_Code

  9. Ha. I posted too late. Please use pastebin.com. 1,217 lines of error code is just way too much to post here.

    Once you have the pastebin.com link the just post the link.

    Edit: Also keep in mind that Claudio is trying to help you and that you are seeking help. A little less snark from both of you would be good.

  10. sombrapoetica
    Member
    Posted 4 months ago #

  11. sombrapoetica
    Member
    Posted 4 months ago #

    Jan - thanks for being so helpful. As I'm obviously new to this and was told in the FAQ to come here for help I thought that was what I'd find. Should I delete the post with the log directly c&ped?

  12. sombrapoetica
    Member
    Posted 4 months ago #

    Oh I see you've done it. Thanks!

  13. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    Here again:

    É possível identificar o erro ligando a opção Log de depuração nas configurações dos Correios. Desta forma é gerado um log dentro da pasta wp-content/plugins/woocommerce/logs/. Ao ativar esta opção, tente realizar uma cotação de frete e depois verique o arquivo gerado.

    Caso apareça no log a mensagem WP_Error: connect() timed out! pode acontecer do site dos Correios ter caido ou o seu servidor estar com pouca memoria.

    You can see where this the way around.
    In addition to the options of the plugin tells you where you can find the file.

    The problem with the status field is not related to the plugin for Posts.
    In addition to that the Post Office does not need to know the country or state.
    For just the zip code to be able to quote the shipping.
    Now understood young man?

    You have two problems that log al.

    First testing with invalid postal code destination.
    The second you changed the settings of the minimum package plugin!

    See the descriptions: http://i.imgur.com/YlrRyuE.png

  14. sombrapoetica
    Member
    Posted 4 months ago #

    I'll leave aside your condescending remarks for the sake of expediency.

    I did not change the settings, just left them as they were, which was at zero.

    If it doesn't need the state why do the options come up?

  15. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    The Country and State options appear because is a WooCommerce standards.
    You can hide: http://claudiosmweb.com/snippets/woocommerce-calculadora-frete-carrinho-cep/

    How are your Standard Package settings?
    Show me.

  16. sombrapoetica
    Member
    Posted 4 months ago #

    They're all at 0,0,0. Should they be changed?

  17. sombrapoetica
    Member
    Posted 4 months ago #

    Anyone,

    How do I create a file to insert into my theme? I tried copying the code into notepad and saving it as .php but the instructions ask for the file name to be woocommerce/cart/shipping-calculator.php and I can't have / in the file name.

  18. sombrapoetica
    Member
    Posted 4 months ago #

    Never mind I understand it's meant to be in those folders. Have also changed the minimum value, going to do a test now. For the zip code do I need the dash before the last three numbers or numbers only?@

  19. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    Yep!
    Need:

    • Minimum Height: 2
    • Minimum Width: 11
    • Minimum Length: 16

    The WooCommerce plugin and install these options already saved, probably something has changed there!

    The "/" indicates the path of the folders.
    In your theme, create the woocommerce folder and inside the woocommerce folder create the cart folder, finally inside the cart folder you creates the file!

    Examples: http://docs.woothemes.com/document/template-structure/

  20. sombrapoetica
    Member
    Posted 4 months ago #

    Ok all works now. Thank you to the plugin creator and the moderator for all the help.

    P.S. Do I need to change all the height values of my products to be more than two? Since they are books we don't usually use height.

  21. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    It may be with or without dash.

  22. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    You need to put weight and dimensions in all their products.
    The Correios works only with certain measures, if otherwise the freight will not be correct.

  23. Claudio Sanches
    Member
    Plugin Author

    Posted 4 months ago #

    I apologize for anything.
    But I created this plugin for free, just waiting to be read and followed my instructions.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.