Skip to content

Commit

Permalink
Merge pull request #179 from franzholz/develop
Browse files Browse the repository at this point in the history
fix country code error
  • Loading branch information
franzholz authored Apr 13, 2023
2 parents 8915009 + 40a30d7 commit 679c6fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'php' => '7.4.0-8.1.99',
'table' => '0.11.0-0.0.0',
'tsparser' => '0.9.0-0.0.0',
'typo3db_legacy' => '1.0.0-1.1.99',
'typo3db_legacy' => '1.0.0-1.2.99',
'typo3' => '10.4.0-11.5.99',
],
'conflicts' =>
Expand Down
2 changes: 1 addition & 1 deletion template/products_css_variants_de.html
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ <h3>BASKET_INFO_TEMPLATE</h3>
<input type="radio" name="recs[delivery][radio1]" ###DELIVERY_RADIO1_1### value="1"> Ja<br>
</div>
<div id="field_DELIVERY_FOUNDBY">
###GW1B###<strong>Wie sind Sie auf uns aufmerksam geworden?:</strong>###GW1E###
###GW1B###<strong>Wie sind Sie auf uns aufmerksam geworden?</strong>###GW1E###
###DELIVERY_FOUNDBY_SELECTOR###
</div>
<div id="field_DELIVERY_FOUNDBY_OTHERS">
Expand Down
4 changes: 2 additions & 2 deletions view/class.tx_ttproducts_info_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ public function getRowMarkerArray (
$bReady = false;
$whereCountries = $this->getWhereAllowedCountries($basketExtra);
$countryCodeArray = [];
$countryCodeArray['billing'] = ($this->infoArray['billing']['country_code'] ?: $context->getPropertyFromAspect('frontend.user', 'isLoggedIn') && ($context->getPropertyFromAspect('frontend.user', 'isLoggedIn') && !empty($GLOBALS['TSFE']->fe_user->user['static_info_country']) ? $GLOBALS['TSFE']->fe_user->user['static_info_country'] : false));
$countryCodeArray['delivery'] = ($this->infoArray['delivery']['country_code'] ?: ($context->getPropertyFromAspect('frontend.user', 'isLoggedIn') && !empty($GLOBALS['TSFE']->fe_user->user['static_info_country']) ? $GLOBALS['TSFE']->fe_user->user['static_info_country'] : false));
$countryCodeArray['billing'] = ($this->infoArray['billing']['country_code'] ?? $context->getPropertyFromAspect('frontend.user', 'isLoggedIn') && ($context->getPropertyFromAspect('frontend.user', 'isLoggedIn') && !empty($GLOBALS['TSFE']->fe_user->user['static_info_country']) ? $GLOBALS['TSFE']->fe_user->user['static_info_country'] : false));
$countryCodeArray['delivery'] = ($this->infoArray['delivery']['country_code'] ?? ($context->getPropertyFromAspect('frontend.user', 'isLoggedIn') && !empty($GLOBALS['TSFE']->fe_user->user['static_info_country']) ? $GLOBALS['TSFE']->fe_user->user['static_info_country'] : false));

$zoneCodeArray = [];
$zoneCodeArray['billing'] = (
Expand Down

0 comments on commit 679c6fe

Please sign in to comment.