From d763a2d183614fbae713bc384c9e5b715919fa11 Mon Sep 17 00:00:00 2001 From: Luke Snowden Date: Thu, 18 Oct 2018 16:44:11 +0100 Subject: [PATCH] DATA shipping service --- src/LukeSnowden/GoogleShoppingFeed/Item.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/LukeSnowden/GoogleShoppingFeed/Item.php b/src/LukeSnowden/GoogleShoppingFeed/Item.php index 475a205..9153a7e 100644 --- a/src/LukeSnowden/GoogleShoppingFeed/Item.php +++ b/src/LukeSnowden/GoogleShoppingFeed/Item.php @@ -200,9 +200,7 @@ public function gtin($gtin) } /** - * [is_bundle description] - * @param [type] $bundle [description] - * @return boolean [description] + * @param $bundle */ public function is_bundle($bundle) { @@ -225,7 +223,7 @@ public function identifier_exists($identifier) public function product_type($productType) { $node = new Node('product_type'); - $brand = $this->safeCharEncodeText($productType); + $productType = $this->safeCharEncodeText($productType); $this->nodes['product_type'] = $node->value($productType)->_namespace($this->namespace)->addCdata(); } @@ -265,7 +263,7 @@ public function availability_date($availabilityDate) public function shipping($code, $service, $cost, $region = null) { $node = new Node('shipping'); - $value = "{$code}{$service}{$cost}"; + $value = "{$code}{$cost}"; if($region) { $value .= "{$region}";