Página 1 de 1

[Resolvido] Atualizar modificação "Price Free For Zero Amount" para OpenCart 3.0.2.0

Enviado: 07 Jun 2018, 14:43
por faustino2016
como modificar esta extensão para funcionar na versão 3.0.20
Código: Selecionar todos
- <modification>
  <id>Price Free For Zero Amount</id> 
  <version>1.0</version> 
  <vqmver>2.1.7</vqmver> 
  <author>www.best-byte.com</author> 
- <file name="system/library/currency.php">
- <operation>
- <search position="before">
- <![CDATA[ $string = '';
  ]]> 
  </search>
- <add>
- <![CDATA[ 
      if ($format && (float)$value == 0) {
			return 'Free';
		  }
  ]]> 
  </add>
  </operation>
  </file>
  </modification>
peguei do modulo
https://www.opencart.com/index.php?rout ... yte&page=2

Re: Atualizar modificação "Price Free For Zero Amount" para OpenCart 3.0.2.0

Enviado: 08 Jun 2018, 13:46
por reds
Ola @faustino2016

Use essa se for para o mesmo fim:
https://www.opencart.com/index.php?rout ... n_id=33938

:ugeek:

Re: Atualizar modificação "Price Free For Zero Amount" para OpenCart 3.0.2.0

Enviado: 13 Jun 2018, 10:29
por faustino2016
obrigado amigo