Pablo Borysenco(@pavlo_borysenco)
29,364 Posts
Citaat van Pablo Borysenco op 30 juni 2022, 14:06
Hallo
Doe alstublieft een test
In bestand - \wp-content\plugins\fancy-product-designer\woo\class-wc-cart.php - Ik heb deze code gewijzigd - https://share.pluginus.net/image/i20220630120425.png - naar - https ://share.pluginus.net/image/i20220630120635.png
$tmp_price = $product->get_price();
if (class_exists ('WOOCS')) {
wereldwijd $ WOOCS;
if ($ WOOCS-> is_multiple_allowed) {
$ currrent = $ WOOCS-> huidige_valuta;
if ($ currrent! = $ WOOCS-> default_currency) {
$ valuta's = $ WOOCS-> get_currencies ();
$ rate = $ valuta [$ currrent] ['rate'];
$tmp_price = $tmp_price / $tarief;
}
}
}
$final_price = $final_price < $tmp_price ? $tmp_price : $final_price;
Hallo
Doe alstublieft een test
In bestand - \wp-content\plugins\fancy-product-designer\woo\class-wc-cart.php - ik heb deze code gewijzigd - https://share.pluginus.net/image/i20220630120425.png - tot - https://share.pluginus.net/image/i20220630120635.png
$tmp_price = $product->get_price();
if (class_exists ('WOOCS')) {
wereldwijd $ WOOCS;
if ($ WOOCS-> is_multiple_allowed) {
$ currrent = $ WOOCS-> huidige_valuta;
if ($ currrent! = $ WOOCS-> default_currency) {
$ valuta's = $ WOOCS-> get_currencies ();
$ rate = $ valuta [$ currrent] ['rate'];
$tmp_price = $tmp_price / $tarief;
}
}
}
$final_price = $final_price < $tmp_price ? $tmp_price : $final_price;
Pablo Borysenco(@pavlo_borysenco)
29,364 Posts
Citaat van Pablo Borysenco op 30 juni 2022, 17:10
OK! Schakel mijn plug-in uit en doe een test
alles werkt op mijn mobiel (android)
OK! Schakel mijn plug-in uit en doe een test
alles werkt op mijn mobiel (android)
Pablo Borysenco(@pavlo_borysenco)
29,364 Posts
Citaat van Pablo Borysenco op 1 juli 2022, 09:36
Hallo
De enige nieuwe code - https://share.pluginus.net/image/i20220701073447.png
En gebruik ook de code uit het artikel (trouwens, later zullen we de nieuwe code aan het artikel toevoegen). Maar wees voorzichtig bij het implementeren van de code.
Hallo
De enige nieuwe code - https://share.pluginus.net/image/i20220701073447.png
En gebruik ook de code uit het artikel (trouwens, later zullen we de nieuwe code aan het artikel toevoegen). Maar wees voorzichtig bij het implementeren van de code.