Skip to content

Commit 03ed818

Browse files
authored
Merge pull request #44 from pagantis/moveToPrice
Update product_simulator.php
2 parents deb8d63 + 5d2236d commit 03ed818

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

WC_Pagantis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Pagantis
44
* Plugin URI: http://www.pagantis.com/
55
* Description: Financiar con Pagantis
6-
* Version: 8.3.3
6+
* Version: 8.3.4
77
* Author: Pagantis
88
*/
99

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

svn/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This file explains how to upload a new module version to Woocommerce market.
66

77
1- Located in your local Woocommerce root folder, clone Pagantis svn repository:
88
```
9-
svn checkout http://plugins.svn.wordpress.org/pagantis svn/
9+
svn checkout http://plugins.svn.wordpress.org/pagamastarde svn/
1010
```
1111

1212
2- Move the current code to the current tag version
@@ -39,6 +39,7 @@ svn add --force svn/.
3939

4040
5- Commit the files to svn
4141
```
42+
cd svn
4243
svn commit -m "<new_version>"
4344
```
4445

templates/product_simulator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ function findDestinationSim()
5858

5959
function moveToPrice()
6060
{
61-
if ('<?php echo $simulator_type; ?>' === 'sdk.simulator.types.SELECTABLE_TEXT_CUSTOM') {
61+
if ('<?php echo $simulator_type; ?>' === 'sdk.simulator.types.SELECTABLE_TEXT_CUSTOM'
62+
|| '<?php echo $simulator_type; ?>' === 'sdk.simulator.types.PRODUCT_PAGE') {
6263
var simnode = document.querySelector(findPositionSelector());
6364

6465
var detailnode = document.getElementsByClassName(findDestinationSim());

test/selenium/buy/AbstractBuy.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,6 @@ public function verifyPagantis()
314314
*/
315315
public function verifyOrderInformation()
316316
{
317-
echo $this->webDriver->getCurrentURL();
318-
319-
echo $this->webDriver->getPageSource();
320-
321317
$messageElementSearch = WebDriverBy::className('entry-title');
322318
$condition = WebDriverExpectedCondition::visibilityOfElementLocated($messageElementSearch);
323319
$this->waitUntil($condition);

0 commit comments

Comments
 (0)