Desconto por porcentagem

Desconto por porcentagem
Desconto em porcentagem por pagamento OCMod

Para instalar basta fazer o upload do arquivo zip no instalador. =)
Depois acesse Extensões > Modificações e clique no botão atualizar (do opencart não do navegador)

Calculo de porcentagem otimizado para poder calcular valores quebrados.

Instruções de uso:
Funciona da seguinte forma, na configuração do módulo em "Extensões -> Total do Pedido -> Desconto à vista", em IDs, você irá colocar o método de pagamento que gostaria de dar descontos, "bank_transfer" (transferência), "cod" (Pagamento na Entrega), ou para os dois: "bank_transfer,cod". Você só precisa colocar cada uma separada por vírgula e sem espaços! Geralmente o ID é o nome do arquivo do módulo.

Depois coloque a porcentagem que deseja (apenas números sem o símbolo de porcentagem!).
Para não calcular junto com o frete, apenas mude a ordem do módulo.

Depois é só fazer algumas modificações no template para mostrar que você oferece o desconto, ou mesmo um banner.
Este módulo é baseado no checkout padrão do opencart. Caso use outros checkouts ou temas diferentes talvez seja necessário realizar adaptações para funcionar. Caso seja iniciante acesse http://www.opencartbrasil.com.br/artigos/arquitetura-temas-opencart

Caso ache o módulo útil e tenha o desejo de me pagar um café, aceitarei de bom grado =)




--------------------------------------------------------------------------------------------------------------------------------------------------

Discount percentage for payment OCMod

To install just upload the zip file in the installer. =)
Then go to Extensions> Modifications and click the update button (the opencart not the browser)

Optimized percentage of calculation in order to calculate float values.

Instructions for use:
It works like this, the module configuration in "Extensions -> Order Totals -> Cash discount" in IDs, you will put the payment method you would like to give discounts, "bank_transfer" (transfer), "cod" (Payment on delivery), or both, "bank_transfer, cod". You just need to put each separated by commas and no spaces! Usually the ID is the module file name.

Then place the percentage you want (just numbers without the percent symbol!).
To not calculate together with the freight, just change the module order.

Then just make some modifications to the template to show that you offer the discount, or make a banner.
This module is based on the standard opencart checkout. If you use other checkouts or different themes may be necessary to make adjustments to work.

If you think the module is useful and has the desire to pay me some coffee, I accept willingly =)


What customers say about Desconto por porcentagem

salvador72
no good extension...no good support..don't recommend
~salvador72
Alengeere
Very bad person. Poor extension.
~Alengeere




Download
  • Developed by OpenCart Community
  • Documentation Included

Rating

Compatibility
3.0.2.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8, 2.3.0.0, 2.3.0.1, 2.3.0.2, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 2.2.0.0

Last Update
25 May 2022

Created
2 Apr 2015
2752 Downloads
47 Comments
periscuelo
periscuelo
Member since: 18 May 2012

View all extensions Get Support