artemis21
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Woocommerce can only create product but not updateHi,
that is the POST script for creating a new product, where the parameters are ignored anyway. The update script uses PUT already, but the products won’t be edited no matter what and I get no errors.Thank you
Forum: Plugins
In reply to: [WooCommerce] Woocommerce can only create product but not updateThis is the API call
//bypass ssl validation check globally for whole application. ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true; urlWooComApi = ConfigurationManager.AppSettings.Get("urlWooComApi"); string userWooComApi = ConfigurationManager.AppSettings.Get("userWooComApi"); string pwdWooComApi = ConfigurationManager.AppSettings.Get("pwdWooComApi"); //var settings = new JsonSerializerSettings() { DateFormatHandling = DateFormatHandling.MicrosoftDateFormat }; var settings = new JsonSerializerSettings() { DateFormatHandling = DateFormatHandling.IsoDateFormat }; RestRequest req = new RestRequest(Method.POST); req.RequestFormat = DataFormat.Json; req.Resource = "products"; req.AddQueryParameter("consumer_key", userWooComApi); req.AddQueryParameter("consumer_secret", pwdWooComApi); var jsonProdotti = JsonConvert.SerializeObject(lstProdotti.Take(1), settings); req.AddParameter("application/json", jsonProdotti, ParameterType.RequestBody); RestClient client = new RestClient(urlWooComApi); IRestResponse resp = client.Execute(req); if (!string.IsNullOrEmpty(resp.ErrorMessage)) throw new Exception($"{resp.ErrorMessage}"); reasons = resp.Content; if (resp.StatusCode != HttpStatusCode.Created) throw new Exception($"{reasons}"); JsonDeserializer deserializer = new JsonDeserializer(); var Prod = deserializer.Deserialize<wcProduct>(resp); return Prod;
Forum: Plugins
In reply to: [WooCommerce] Woocommerce can only create product but not updateHi,
thank you for your reply. I tried changing theme and deactivating all the plugins except WooCommerce but I still get the same result. I can create the product but I’m not able to modify it thourgh API rest. And even when I creat it it ignores my parameters. I’m following the official API documentation and I tried both v2 and v3.Forum: Plugins
In reply to: [More-Lang] Translate Post Masonry GridHi,
I’ve sent you a couple of email with files and screenshots.Thank you
Forum: Plugins
In reply to: [More-Lang] Translate Post Masonry GridYes, can you give me an email?
Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security errorHi, thank you for your reply, that is a weird behavior from the slider, I’m afraid I have to change plugin as I need to switch back to my template slider behavior.
Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security errorHi,
thank you, but with that code images taller than 500px are truncated, instead of contained in the slider.Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security errorHi,
I didn’t notice the Adaptive Height setting is a premium feature…
However I have a problem with the slider, you can see in this page:https://www.dacsrl.net/shop/accessori-auto/interni/coprivolanti/mimetic-coprivolante-auto/
The height of the slider is way to much even if the picture is not that tall.
Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security errorThank you! It’s displayed fine now.
There’s just one more thing that looks a bit strange to me. In the first big product image, you can see the zoom icon in the bottom left, but if you change picture to the second (which has a different aspect ratio), the zoom icon is placed in the bottom left of the picture, not in the div. This is unfortunate because the arrow is right on top of the zoom icon and could not be clicked.
If I could make a suggestion, make it so that the zoom/enlarge icon is absolute positioned relatively to the parent div, so that it does not change place with different size images.Thank you
Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security errorForum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security errorHere’s the link, it’s more evident on the secon image:
https://dacsrl.giessedati.it/shop/accessori-auto/emergenza-e-manutenzione/olio-e-additivi/olio-freni/Thank you
Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security errorWould it be possible to at least change the quality of the thumbnails? When I have your plugin activated, the resolution of the thumbnail is worse…
Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security errorThank you NikHiL,
I’ve solved the problem. I have another question though, without opening another thread. I’ve noticed that the gallery style of the product page is replaced by the one of the plugin, is it possible to mantain the style of the theme instead?Theme: https://i.imgur.com/s3UvCwl.png
Plugin: https://i.imgur.com/ydBdQzb.png
Thank you
- This reply was modified 4 years, 5 months ago by artemis21.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Can’t display youtube embed videoHi Aert,
thank you for your reply, I tried disabling the firewall but got the same problem, if I disable Compliantz I have no issues instead, and the video displays properly.Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Can’t open this page security error