Risto Niinemets
Forum Replies Created
-
Tere,
Ajutise lahendusena (Smartposti probleemile) saab kasutada j?rgmist koodijuppi:
add_filter( 'wc_shipping_smartpost_terminals_url', function ( $url, $country ) { return add_query_arg( 'country', $country, 'https://my.smartpost.ee/api/available_destinations' ); }, 10, 2 );
- This reply was modified 2 years, 4 months ago by Risto Niinemets.
Forum: Plugins
In reply to: [Estonian Shipping Methods for WooCommerce] Smartposti widgetTere,
See plugin ei kasuta mainitud faile. Automaatide nimistuks tehakse PHPs p?ring ning select tehakse HTMLis “ise”.
Tere!
Kas valikut üldse ei teki, v?i on valikute nimistu tühi?
Kui dropdown on olemas, siis kahtlustan, et eile oli Smartpostil parajalt probleeme, t?en?oliselt e-smasp?eva koormusega seotud ning v?ib-olla ei suutnud süsteem sel hetkel pakiautomaate k?tte saada, salvestati tühi nimekiri. Nimekiri salvestatakse 24h tunniks, siis peaks automaatselt v?rskendama.
Forum: Plugins
In reply to: [Estonian Shipping Methods for WooCommerce] Mobiilis on plugin katkiTere,
Tehniliselt on tegelikult teema katki, sest ei ole lisatud select (rippmenüü) elementidele stiili külge.
Kui lisada teemasse juurde CSS koodi rida, siis l?heb korda:
.woocommerce-checkout-review-order-table select { width: 100%; }
Forum: Plugins
In reply to: [Estonian Shipping Methods for WooCommerce] PDF arvel ei kuva terminali nimeT?esti, ei toimi.
Hetkel k?ige lihtsam ja kiirem lahendus on lisada koodijupp kuhugi (nt kujunduse functions.php):
add_action( 'wpo_wcpdf_before_document', function () { WC()->shipping(); }, 1, 1 );
Uurin l?hemalt, mis seda p?hjustab, sest see laieneb ka teistele pluginatele.
- This reply was modified 3 years, 6 months ago by Risto Niinemets.
Forum: Plugins
In reply to: [Estonian Shipping Methods for WooCommerce] PDF arvel ei kuva terminali nimeTere,
Millised on kasutusel olev WooCommerce ja vastava PDF plugina versioon?
Hi!
Thanks.
Plugin is still fully compatible with latest WordPress and WooCommerce.Lists are updated every 24 hours, so it should be up to date ??
Forum: Plugins
In reply to: [Estonian Banklinks for WooCommerce] Return URL probleemTere, @koguja
Paraku on v?ga keeruline selle info p?hjal ?elda, mis v?iks olla veaks.
Aadress “/wc-api/WC_Banklink_Estcard_Gateway/” on ?ige, aga seal toimuvad kontrollid ning kui info klapib, siis suunatakse edasi vastavalt “/order-received/4053536/?key=wc_order_XXX” lehele.Tasub proovida vaadata n?iteks debug.logi v?i serveri error logisse, et kas seal on kirjas, mis valesti l?ks.
Forum: Plugins
In reply to: [Estonian Banklinks for WooCommerce] Return URL probleemTere,
Milles on probleem t?psemalt? URL on ?ige, seal ei ole erinevust, milline staatus tuleb pangast tagasi.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] WooCommerce wc_get_productsThanks for the explanation.
So basically as long as WooCommerce product are stores as posts, I should be able to pull search results from Relevanssi instead of built-in search, even if using
wc_get_products(['s' => $keyword, 'stock_status' => 'instock', 'limit' => 3])
or
new WC_Product_Query(['s' => $keyword, 'stock_status' => 'instock', 'limit' => 3])->get_products()
or
\WC_Data_Store::load('product')->search_products($keyword, '', false, false, 3)
But that doesn’t happen.
First and second calls are same, first one is just a wrapper for the second one. Both use WP_Query at the moment as products are in posts table, but problem is that the query itself is never returned so it could not be passed on to
relevanssi_do_query
.As for the third option, currently I don’t see how Relevanssi interferes with the results, WooCommerce makes a direct database call to it’s lookup tables. There is an option though
https://github.com/woocommerce/woocommerce/blob/master/includes/data-stores/class-wc-product-data-store-cpt.php#L1556I just might be missing something…
Forum: Plugins
In reply to: [Relevanssi - A Better Search] WooCommerce wc_get_productsNot sure about specific documentation, but here’s some on two of the mentioned functions/methods:
https://github.com/woocommerce/woocommerce/wiki/wc_get_products-and-WC_Product_QueryThe functions are already in use so the future is here ??
wc_get_products and WC_Product_Query provide a standard way of retrieving products that is safe to use and will not break due to database changes in future WooCommerce versions. Building custom WP_Queries or database queries is likely to break your code in future versions of WooCommerce as data moves towards custom tables for better performance. This is the best-practices way for plugin and theme developers to retrieve multiple products. wc_get_products and WC_Product_Query are similar to WordPress get_posts and WP_Query. Just like those, you pass in an array of arguments defining the criteria for the search.
So far they’ve added a product_meta_lookup table to store stock status and some other product related core data.
Forum: Plugins
In reply to: [Estonian Banklinks for WooCommerce] maksekeskuse probleemidH?sti ??
API v?i Redirect eristab ?ra pealkirja j?rgi Maksed seadetes, https://share.konekt.ee/kYEdXg
Forum: Plugins
In reply to: [Estonian Banklinks for WooCommerce] maksekeskuse probleemidTere,
kas probleem endiselt sama?
Milline Maksekeskuse variant on kasutusel, kas API v?i Redirect?Forum: Reviews
In reply to: [Estonian Shipping Methods for WooCommerce] Support is jokeAit?h sinu panuse eest!
Tere, @jyriii
Tundud olevat ??rmiselt meeldiv ja sümpaatne isik. Ilmselt on riigisisene eriolukord andnud Sulle aega enese leidmiseks ja leidsid selle koha siin, kus oma arengut ning ?pitut v?lja n?idata. Tore!
Kui olid piisavalt taibukas, et vaadata plugina koodi, siis
1) Palun selgita mulle kuidas otsustasid, et WPML ühilduvuseks ei ole midagi tehtud?
2) Vaata, kuidas v?i mis koodi kaudu tuleb tarnemeetodile pealkiri (seesamune Title v?li)
3) Vaata, mida on teinud WooCommerce WPML-iga ühildumiseks. Selgita mulle ka.
4) Vaata, mida on teinud WPML (v?i WooCommerce Multilingual) WooCommerce-ga ühildumiseks.PS! https://share.konekt.ee/bg805h
PPS! Kuna olen plugina autor, siis j?relikult j??b variandiks, et kupli all on midagi valesti. Jah, kui j?rele m?elda, siis eestlasena t?esti peab olema nupust nikastatud, et teha tasuta pluginaid ja vabast ajast veel panustada aega teiste aitamiseks.