Exemple #1
0
 public function __construct($Module, $name)
 {
     parent::__construct($Module, $name);
     if ($Module->multi) {
         $this->multi = true;
         shopp_custom_script('payments', '$ps[\'' . strtolower($Module->module) . '\'] = ' . json_encode($Module->settings) . ";\n");
     }
 }
 public function __construct($Module, $name)
 {
     parent::__construct($Module, $name);
     $this->id = empty($Module->setting) ? $this->module : $Module->setting;
     if ($this->label == $name) {
         $this->label = __('Shipping Method', 'Shopp');
     }
     if (method_exists($Module, 'logo')) {
         $this->label = 'data:image/png;base64,' . $Module->logo();
     }
 }