Hi
I set up the free shipping option (freeoptions) to offer free shipping on orders over 3 items and added an icon in the class constructor as follows
$this->icon = (( defined('DIR_WS_ICONS') ? DIR_WS_ICONS : 'images/icons/' ) . 'shipping_ukrm.jpg');//~~Added icon
Now the problem is when an order is placed which does not qualify for free shipping, on the checkout_shipping under the Shipping Methods shown, an empty fieldset is shown with only the icon in the legend .
To correct this I had to modify the the freeoptins.php as follows in the
function quote($method = '')
at line 193 which is
if (zen_not_null($this->icon)) $this->quotes['icon'] = zen_image($this->icon, $this->title);
To the following
if ($this->enabled) {
if (zen_not_null($this->icon)) $this->quotes['icon'] = zen_image($this->icon, $this->title);
}
Now the reason I am asking if this is a bug is I have heavily modified the installation and this may be due to something else I have done however I don't think so but thought I would mention it here and let the experts determine if it is a bug or not
Bookmarks