Multi CEP Sender - Magento

Asked

Viewed 124 times

0

I need to know if there is a module for Magento, where you can have two or more Distribution Centers and calculate the freight using different ZIP codes.

For example:

se for produto X = cep1
se for produto Y = cep2
  • I recommend doing the Tour from the site, and try to be more specific in your question, as is not sure if anyone can help you.

2 answers

0

Your question is a little confused, however, I have a little idea of what you are wanting according to what you asked. Look for the page you want to apply this modification, there you can work with Javascript or Jquery, in simple questions I will give you a code in JS.

Basically if your idea is to change the zip code according to the type of product, you can receive the value of this product for example if it is in an input, but if not, you just have to take this element, the HTML it is and use it. Follow the example.

       function trigger_cep(x, y){ 
       // Receba o valor do produto pelo ID aqui
          var produto = document.getElementById('produto').value;
          if(produto == produto_x){
       // De acordo com o tipo de produto altere o cep aqui
          document.getElementById('cep').value = cep1;
          } else if(produto == produto_y) {
       // mesma coisa se o cep for y ele troca para o teu cep 2....
          document.getElementById('cep).value = cep2;        
         }

You understand, you can use JS to manipulate the front elements and work with them, but if that’s not what you want, then you must be wanting something more pro backend, anything talk there, hugs.

0

From what I understand you need a customized shipping method.

Try to create yours, take a look at this wiki of the Gento who helped me a lot.

here

Browser other questions tagged

You are not signed in. Login or sign up in order to post.