Devam Ediyor

Write some Software

We need to create an small modification to Opencart.

For some specific product option we can't accept one payment method (Cash on delivey - COD default opencart payment module).

What we need is to create one code to hide COD option on checkout if option value X is selected.

As we look this can be done on COD module and we can give some directions, we just don't know how to do it in PHP.

I forgot to add to description, this can be done using opencart default instalation, dont need to apply to an specific website with custom mods, basically the idea its to add an line of code on COD model, (catalog/model/payment/cod.php line 8)

if ($this->config->get('cod_total') > 0 && $this->config->get('cod_total') > $total) {

Them we can add something like if attrribute_id=15 and value="16" display none. (Sorry for the ugly example, i really dont know anything about php)

Beceriler: Open Cart, PHP

Daha fazlasını görün: module cod, option opencart, checkout module opencart, open cart checkout, opencart option value, php opencart software, opencart payment product, modification open cart, checkout default opencart, module payment opencart, opencart small, option opencart module, create option product opencart, open cart modification, modification opencart, checkout opencart, opencart checkout module, product option opencart, create module opencart, opencart product option, opencart checkout, opencart product option module, code opencart payment module, opencart code product, opencart create module

İşveren Hakkında:
( 43 değerlendirme ) Belo Horizonte, Brazil

Proje NO: #6553319