Trustedshops_Trustedshops - Version 1.1.2

Version Notes

* Trustcard function params

Download this release

Release Info

Developer Trusted Shops
Extension Trustedshops_Trustedshops
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

app/code/community/Trustedshops/Trustedshops/Block/Trustcard.php CHANGED
@@ -224,7 +224,7 @@ class Trustedshops_Trustedshops_Block_Trustcard extends Trustedshops_Trustedshop
224
  *
225
  * @return string
226
  */
227
- public function getProductSku($item)
228
  {
229
  if ($item->getHasChildren()) {
230
  $product = $this->getProduct($item);
224
  *
225
  * @return string
226
  */
227
+ public function getProductSkuByItem($item)
228
  {
229
  if ($item->getHasChildren()) {
230
  $product = $this->getProduct($item);
app/code/community/Trustedshops/Trustedshops/Model/System/Config/Source/Attribute.php CHANGED
@@ -30,7 +30,7 @@ class Trustedshops_Trustedshops_Model_System_Config_Source_Attribute
30
  * @param bool $asArray
31
  * @return array
32
  */
33
- protected function getAvailableAttributes($asArray)
34
  {
35
  $availableAttributes = Mage::getResourceModel('catalog/product_attribute_collection')
36
  ->setOrder('frontend_label', 'asc')
30
  * @param bool $asArray
31
  * @return array
32
  */
33
+ protected function getAvailableAttributes($asArray = false)
34
  {
35
  $availableAttributes = Mage::getResourceModel('catalog/product_attribute_collection')
36
  ->setOrder('frontend_label', 'asc')
app/code/community/Trustedshops/Trustedshops/etc/config.xml CHANGED
@@ -12,7 +12,7 @@
12
  <config>
13
  <modules>
14
  <Trustedshops_Trustedshops>
15
- <version>1.1.0</version>
16
  </Trustedshops_Trustedshops>
17
  </modules>
18
  <global>
12
  <config>
13
  <modules>
14
  <Trustedshops_Trustedshops>
15
+ <version>1.1.2</version>
16
  </Trustedshops_Trustedshops>
17
  </modules>
18
  <global>
app/design/frontend/base/default/template/trustedshops/trustcard.phtml CHANGED
@@ -26,7 +26,7 @@
26
  <span class="tsCheckoutProductUrl"><?php echo $this->getProductUrl($item) ?></span>
27
  <span class="tsCheckoutProductImageUrl"><?php echo $this->getProductImage($item) ?></span>
28
  <span class="tsCheckoutProductName"><?php echo $this->getName($item) ?></span>
29
- <span class="tsCheckoutProductSKU"><?php echo $this->getProductSku($item) ?></span>
30
  <span class="tsCheckoutProductGTIN"><?php echo $this->getProductGTIN($item) ?></span>
31
  <span class="tsCheckoutProductMPN"><?php echo $this->getProductMPN($item) ?></span>
32
  <span class="tsCheckoutProductBrand"><?php echo $this->getProductBrand($item) ?></span>
26
  <span class="tsCheckoutProductUrl"><?php echo $this->getProductUrl($item) ?></span>
27
  <span class="tsCheckoutProductImageUrl"><?php echo $this->getProductImage($item) ?></span>
28
  <span class="tsCheckoutProductName"><?php echo $this->getName($item) ?></span>
29
+ <span class="tsCheckoutProductSKU"><?php echo $this->getProductSkuByItem($item) ?></span>
30
  <span class="tsCheckoutProductGTIN"><?php echo $this->getProductGTIN($item) ?></span>
31
  <span class="tsCheckoutProductMPN"><?php echo $this->getProductMPN($item) ?></span>
32
  <span class="tsCheckoutProductBrand"><?php echo $this->getProductBrand($item) ?></span>
package.xml CHANGED
@@ -1,21 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Trustedshops_Trustedshops</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Trustedshops Integration</summary>
10
  <description>Trustedshops Integration</description>
11
- <notes>* Fix German Translation&#xD;
12
- * Only display Trustcard if an order is available&#xD;
13
- * add new product review variables&#xD;
14
- * add product rating notice</notes>
15
  <authors><author><name>Trusted Shops</name><user>Burck</user><email>productfeedback@trustedshops.com</email></author></authors>
16
- <date>2016-06-09</date>
17
- <time>08:02:19</time>
18
- <contents><target name="magecommunity"><dir name="Trustedshops"><dir name="Trustedshops"><dir name="Block"><file name="Abstract.php" hash="2dea70550d50f85777c83728b1bddea5"/><dir name="Adminhtml"><dir name="Field"><file name="Expertnotice.php" hash="d3c2dfe2f73f5bf05fbd14c2fdf78cb5"/><file name="Integration.php" hash="254335a9e4583b5017dedd94cd1919f5"/><file name="Intro.php" hash="adfa0209519aa101d507a94b6f963819"/><file name="Notice.php" hash="586200702537efaf28592fc104a99c84"/></dir></dir><file name="Rating.php" hash="fd0da4aaab2433888f6635898e5b2f93"/><dir name="Review"><file name="Tab.php" hash="afc3eb61d16074042ff1dab0abae4954"/></dir><file name="Review.php" hash="e8cbc25fff3fd7f0562c257b14dad84a"/><file name="Trustbadge.php" hash="430bf1bbf7c5993c0c3b06ea3d7a3b17"/><file name="Trustcard.php" hash="47ec675aa46d260c28d729aba705334a"/><dir name="Widget"><file name="Dependence.php" hash="e324513eba860d5082ab5a07355397b5"/></dir></dir><dir name="Helper"><file name="Data.php" hash="70cca035ec45b854253cd678b65bb422"/></dir><dir name="Model"><file name="Observer.php" hash="9488fecac965e8babcb90b422b64350f"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="d403234fab5c87faf34a38ceeaa04f78"/><file name="Mode.php" hash="2db89acc46905cb2b557b8e0151589d1"/><file name="Variant.php" hash="256ae7759180764b7891debdf53e49ec"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="422b4d54a7765b44a71089b728ed5481"/><file name="config.xml" hash="f2b4075262d1998c9e07d47b09b8db85"/><file name="system.xml" hash="07a0cb87c3f443d621c5487ccc91dc22"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="trustedshops.xml" hash="5fb8e437eacd818f4ae69b90f752cffc"/></dir><dir name="template"><dir name="trustedshops"><file name="rating.phtml" hash="02df47873f916afcd7699cc99efd3de0"/><file name="review.phtml" hash="70deab7d87ac75f41f3548669a8c50a2"/><file name="review_tab.phtml" hash="bfe1e9709121f861a40b9fbfdddf7fae"/><file name="trustbadge.phtml" hash="11ac32d48c4dcc236b6f6a8057c5d65e"/><file name="trustcard.phtml" hash="87fba6dd48439cd5bc7a3c29834ffb1d"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Trustedshops_Trustedshops.xml" hash="30b3e1bafa2c765173d109e862901fef"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="trustedshops"><file name="trustedshops_de.jpg" hash="7e5d11cb8d58704de6fa9b9150135d09"/><file name="trustedshops_en.jpg" hash="196f8042dd61d812af126e11c28ad63d"/><file name="trustedshops_fr.jpg" hash="461ae3156ed09632fad459dd72d406a7"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="de_AT"><file name="Trustedshops_Trustedshops.csv" hash="e39a07e18613003ce082f8054b1bae22"/></dir><dir name="de_CH"><file name="Trustedshops_Trustedshops.csv" hash="e39a07e18613003ce082f8054b1bae22"/></dir><dir name="de_DE"><file name="Trustedshops_Trustedshops.csv" hash="e39a07e18613003ce082f8054b1bae22"/></dir><dir name="fr_CA"><file name="Trustedshops_Trustedshops.csv" hash="b04c68aa4b7e2de86dc9b99d7e269355"/></dir><dir name="fr_FR"><file name="Trustedshops_Trustedshops.csv" hash="b04c68aa4b7e2de86dc9b99d7e269355"/></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.3.0</min><max>7.0.6</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Trustedshops_Trustedshops</name>
4
+ <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Trustedshops Integration</summary>
10
  <description>Trustedshops Integration</description>
11
+ <notes>* Trustcard function params</notes>
 
 
 
12
  <authors><author><name>Trusted Shops</name><user>Burck</user><email>productfeedback@trustedshops.com</email></author></authors>
13
+ <date>2016-06-27</date>
14
+ <time>12:06:17</time>
15
+ <contents><target name="magecommunity"><dir name="Trustedshops"><dir name="Trustedshops"><dir name="Block"><file name="Abstract.php" hash="2dea70550d50f85777c83728b1bddea5"/><dir name="Adminhtml"><dir name="Field"><file name="Expertnotice.php" hash="d3c2dfe2f73f5bf05fbd14c2fdf78cb5"/><file name="Integration.php" hash="254335a9e4583b5017dedd94cd1919f5"/><file name="Intro.php" hash="adfa0209519aa101d507a94b6f963819"/><file name="Notice.php" hash="586200702537efaf28592fc104a99c84"/></dir></dir><file name="Rating.php" hash="fd0da4aaab2433888f6635898e5b2f93"/><dir name="Review"><file name="Tab.php" hash="afc3eb61d16074042ff1dab0abae4954"/></dir><file name="Review.php" hash="e8cbc25fff3fd7f0562c257b14dad84a"/><file name="Trustbadge.php" hash="430bf1bbf7c5993c0c3b06ea3d7a3b17"/><file name="Trustcard.php" hash="3f8303d08e105381b4bccfe71420f2da"/><dir name="Widget"><file name="Dependence.php" hash="e324513eba860d5082ab5a07355397b5"/></dir></dir><dir name="Helper"><file name="Data.php" hash="70cca035ec45b854253cd678b65bb422"/></dir><dir name="Model"><file name="Observer.php" hash="9488fecac965e8babcb90b422b64350f"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="040f6aee3ef099de0b1b1b21d1aee2db"/><file name="Mode.php" hash="2db89acc46905cb2b557b8e0151589d1"/><file name="Variant.php" hash="256ae7759180764b7891debdf53e49ec"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="422b4d54a7765b44a71089b728ed5481"/><file name="config.xml" hash="e800c74618d58365b923fd78bed67c3d"/><file name="system.xml" hash="07a0cb87c3f443d621c5487ccc91dc22"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="trustedshops.xml" hash="5fb8e437eacd818f4ae69b90f752cffc"/></dir><dir name="template"><dir name="trustedshops"><file name="rating.phtml" hash="02df47873f916afcd7699cc99efd3de0"/><file name="review.phtml" hash="70deab7d87ac75f41f3548669a8c50a2"/><file name="review_tab.phtml" hash="bfe1e9709121f861a40b9fbfdddf7fae"/><file name="trustbadge.phtml" hash="11ac32d48c4dcc236b6f6a8057c5d65e"/><file name="trustcard.phtml" hash="128a3fa4ae8785e638f66422564f08af"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Trustedshops_Trustedshops.xml" hash="30b3e1bafa2c765173d109e862901fef"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="trustedshops"><file name="trustedshops_de.jpg" hash="7e5d11cb8d58704de6fa9b9150135d09"/><file name="trustedshops_en.jpg" hash="196f8042dd61d812af126e11c28ad63d"/><file name="trustedshops_fr.jpg" hash="461ae3156ed09632fad459dd72d406a7"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="de_AT"><file name="Trustedshops_Trustedshops.csv" hash="e39a07e18613003ce082f8054b1bae22"/></dir><dir name="de_CH"><file name="Trustedshops_Trustedshops.csv" hash="e39a07e18613003ce082f8054b1bae22"/></dir><dir name="de_DE"><file name="Trustedshops_Trustedshops.csv" hash="e39a07e18613003ce082f8054b1bae22"/></dir><dir name="fr_CA"><file name="Trustedshops_Trustedshops.csv" hash="b04c68aa4b7e2de86dc9b99d7e269355"/></dir><dir name="fr_FR"><file name="Trustedshops_Trustedshops.csv" hash="b04c68aa4b7e2de86dc9b99d7e269355"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>7.0.6</max></php></required></dependencies>
18
  </package>