Plugin dos Correios roda no nopCommerce versões 2.70 e 2.80

1 2 >
Posted: February 19, 2013 at 8:15 AM Quote #89859
Na verdade eu preciso da autorização do pessoal do nopCommerce para disponibilizar o arquivo que deve ser substituido no nopCom para que o plugin volte a funicionar.
Vou tentar um contato com a equipe e ver se é posiivel colocar o arquivo a disposição aqui no forum ou na seção downloads(talvez seja inconveniente para eles, não sei).
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
The stairs of Humility have low and large degrees, the one of pride... High and straits degrees...
Posted: February 19, 2013 at 10:54 AM Quote #89898
instalei o plugins dos correios e ocorreu este error:

Method not found: 'System.Decimal Nop.Services.Shipping.GetShippingOptionRequest.GetTotalLength()'.

É o mesmo error que ocorreu com vc e com resposta do nopcommerce irá resolveR?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: February 19, 2013 at 11:08 AM Quote #89903
Exatamente.
Eu fiz o upload dos arquivos para que voce possa substituir no nopCommerce e o plugin dos Correios volte a funcionar.
São dois um para a versão nopCom 2.70 e outro do 2.80.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
The stairs of Humility have low and large degrees, the one of pride... High and straits degrees...
Posted: February 19, 2013 at 11:10 AM Quote #89904
Desculpe, fez upload onde?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: February 19, 2013 at 11:21 AM Quote #89907
Eu estava esperando que os downloads fossem liberados para colocar os links aqui

Para o nopCommerce 2.70

http://www.nopcommerce.com/p/863/shippingcorreios-for-nopcommerce-v-270.aspx

Para o nopCommerce 2.80

http://www.nopcommerce.com/p/862/shippingcorreios-for-nopcommerce-v-280.aspx
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
The stairs of Humility have low and large degrees, the one of pride... High and straits degrees...
Posted: February 20, 2013 at 5:13 AM Quote #89969
Estava desenvolvendo um, não será mais preciso =D

Obrigado leodemario.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: February 25, 2013 at 5:23 PM Quote #90545
Boa leodemario! muito obrigado!
Tu poderia fazer a gentileza me dizer quais os arquivos do nopcommerce que foram alterados e onde?

Obrigado!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 09, 2013 at 7:55 PM Quote #91385
Galera estou com problemas com o plugin para o modulo dos correios.

alguem sabe me dizer se ja conseguiu para a versao 2.80 ???
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 13, 2013 at 9:24 PM Quote #91677
public decimal GetTotalWidth()
        {
            decimal num = 0m;
            foreach (ShoppingCartItem current in this.Items)
            {
                ProductVariant productVariant = current.ProductVariant;
                if (productVariant != null)
                {
                    num += productVariant.Width * current.Quantity;
                }
            }
            return num;
        }

        public decimal GetTotalLength()
        {
            decimal num = 0m;
            foreach (ShoppingCartItem current in this.Items)
            {
                ProductVariant productVariant = current.ProductVariant;
                if (productVariant != null)
                {
                    num += productVariant.Length * current.Quantity;
                }
            }
            return num;
        }


        public decimal GetTotalHeight()
        {
            decimal num = 0m;
            foreach (ShoppingCartItem current in this.Items)
            {
                ProductVariant productVariant = current.ProductVariant;
                if (productVariant != null)
                {
                    num += productVariant.Height * current.Quantity;
                }
            }
            return num;
        }
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 13, 2013 at 9:25 PM Quote #91678
Adicione os seguintes códigos no arquivo nop.services.shipping.GetShippingOptionRequest.cs

using Nop.Core.Domain.Catalog;


public decimal GetTotalWidth()
        {
            decimal num = 0m;
            foreach (ShoppingCartItem current in this.Items)
            {
                ProductVariant productVariant = current.ProductVariant;
                if (productVariant != null)
                {
                    num += productVariant.Width * current.Quantity;
                }
            }
            return num;
        }

        public decimal GetTotalLength()
        {
            decimal num = 0m;
            foreach (ShoppingCartItem current in this.Items)
            {
                ProductVariant productVariant = current.ProductVariant;
                if (productVariant != null)
                {
                    num += productVariant.Length * current.Quantity;
                }
            }
            return num;
        }


        public decimal GetTotalHeight()
        {
            decimal num = 0m;
            foreach (ShoppingCartItem current in this.Items)
            {
                ProductVariant productVariant = current.ProductVariant;
                if (productVariant != null)
                {
                    num += productVariant.Height * current.Quantity;
                }
            }
            return num;
        }[/quote]
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 >
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
E-COMMERCE CONFERENCE 2017
Learn more