Skip to content

Commit

Permalink
Merge pull request #53 from it-can/master
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesnowden authored Aug 2, 2022
2 parents 57f6481 + d2006f8 commit 112388f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/LukeSnowden/GoogleShoppingFeed/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,16 @@ public function title($title)
$this->nodes['title'] = $node->value($title)->_namespace($this->namespace)->addCdata();
}

/**
* @param $short_title
*/
public function short_title($short_title)
{
$node = new Node('short_title');
$short_title = $this->safeCharEncodeText($short_title);
$this->nodes['short_title'] = $node->value($short_title)->_namespace($this->namespace)->addCdata();
}

/**
* @param $link
*/
Expand Down

0 comments on commit 112388f

Please sign in to comment.