-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from YotpoLtd/YES_27_failed_to_load_bottom_line
Yes 27 failed to load bottom line
- Loading branch information
Showing
10 changed files
with
58 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.idea | ||
.DS_Store | ||
nbproject/project.xml | ||
nbproject/project.properties | ||
nbproject/private/private.properties | ||
nbproject/*.* | ||
nbproject/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
<?php if($this->isRenderBottomlineQna()){ ?> | ||
<style> | ||
.yotpo-icon-double-bubble, .yotpo-stars { margin: 0 5px 0 0 !important; } | ||
div.yotpo.bottomLine { display: inline-block; margin: 0 10px 1px 0;} | ||
.thumbnail .yotpo a { display: inline-block; } | ||
div.yotpo.QABottomLine { display: inline-block; } | ||
</style> | ||
<?php } ?> | ||
|
||
<?php if( $this->isRenderBottomline()) { ?> | ||
<div class="yotpo bottomLine" | ||
data-product-id="<?php echo $this->getProductId() ?>" | ||
data-url="<?php echo $this->getProductUrl() ?>"> | ||
</div> | ||
<?php } ?> | ||
<?php } ?> | ||
|
||
<?php | ||
if($this->isRenderBottomlineQna()){ | ||
$this->helper('Yotpo\Yotpo\Helper\Data')->showQABottomline($this); | ||
} ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php $this->helper('Yotpo\Yotpo\Helper\Data')->showQna($this, $_product); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div class="yotpo QABottomLine" | ||
data-appkey="<?php echo $this->getAppKey() ?>" | ||
data-product-id="<?php echo $this->getProductId() ?>"> | ||
</div> |