Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
  • Location

Recent Profile Visitors

3,233 profile views

Noboru's Achievements

Jr. Member

Jr. Member (3/6)



  1. Servus @bernhard, now I have to check my sites too (and buy an Android 😉 Armin
  2. Hi @bernhard, it works for me when copying and pasting the link into WhatsApp on the iPhone. Armin
  3. Hi @Gadgetto, for me, a text(area) field for custom order fields would be sufficient. Especially with regard to API version 3, in which custom order files are handled completely differently: now called "cart custom fields", see https://docs.snipcart.com/v3/setup/cart-custom-fields
  4. Hi @Gadgetto, I need additional consent to the general business terms. For API version 2 this is documented here: https://docs.snipcart.com/v2/configuration/custom-fields It works like this in a test in MarkupSnipWire: $jsResources[] = '<script src="' . $this->snipwireConfig->snipcart_js_path . '"' . (!empty($this->snipwireConfig->snipcart_js_integrity) ? ' integrity="' . $this->snipwireConfig->snipcart_js_integrity . '"' : '') . ' data-api-key="' . $snipcartAPIKey . '"' . ' data-cart-custom1-name="By checking this box, I have read and agree to the <a href=\'https://www.processwire.com\' class=\'js-real-link\' target=\'_blank\'>Terms &amp; Conditions</a>"' . ' data-cart-custom1-options="true|false"' . ' data-cart-custom1-required="true"' . ' id="snipcart"' . '></script>'; Could such a custom field be accessible via the configuration? Or is there a better way?
  5. Hi @Gadgetto, I'm using MAMP Pro 5.5.1 with PHP 7.3.8 (tried it with 7.1.31 with the same result), /Applications/MAMP/Library/bin/curl --version curl 7.65.1 (x86_64-apple-darwin13.4.0) libcurl/7.65.1 OpenSSL/1.0.2o zlib/1.2.8 nghttp2/1.29.0 Release-Date: 2019-06-05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: AsynchDNS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets It's also an naked PW 3.0.147 without any other modules. Its the same result like on my webhost (curl 7.19.7 , PHP 7.3.12). More testing on webserver (because webhooks and full configuration): If I set the price to a value without a comma everything works as expected (SnipWire log: Fetched Snipcart product with SKU [1116] / ID [xxx-xxx-xxx-xxx]. But if the product price is for example 11.50, I get Snipcart product with SKU [1116] could not be fetched. [500 Internal Server Error: ] I've tried different settings for decimal separator in app.snipcart.com Regional Settings. The Markup for the Add-to-cart-Button looks like this: <button class="snipcart-add-item" title="Add to cart" data-item-name="Axolotl Juicer" data-item-id="1116" data-item-price="11,5" data-item-url="https://roland.zumpixel.de/shop/axolotl-juicer/" data-item-description="Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur." data-item-image="https://xxx.xx.de/site/assets/files/1116/beer3.65x65-hidpi.jpg" data-item-metadata="{&quot;id&quot;:1116,&quot;created&quot;:1576098063,&quot;modified&quot;:1576185868,&quot;published&quot;:1576098063,&quot;created_users_id&quot;:41,&quot;modified_users_id&quot;:41}" data-item-quantity="1" data-item-quantity-step="1" data-item-stackable="true" data-item-taxable="true" data-item-taxes="20% VAT" data-item-has-taxes-included="true" data-item-shippable="true">Add to cart</button> Armin
  6. Hi Martin, that looks very promising! Unfortunately I can't get the module to work properly. I'm using the last dev version of processire. I get the following error when I try to install the sample products: Raw data option with CURL not supported for GET In /wire/core/WireHttp.php line 642 Then I get when saving a product: Snipcart product with SKU [1032] could not be fetched. [500 Internal Server Error: ] I tried it in different environments, but in MAMP I also get these errors.
  7. Hi @AndZyk, you could try this: brew install imagemagick brew install pkg-config pecl install imagick For me this installs /Applications/MAMP/bin/php/php7.1.22/lib/php/extensions/no-debug-non-zts-20160303/imagick.so In MAMP I switched to PHP 7.1.22 and edited in corresponding php.ini MAMP_Imagick_MAMPextension=/Applications/MAMP/bin/php/php7.1.22/lib/php/extensions/no-debug-non-zts-20160303/imagick.so Now MAMP should use a newer Imagmagick with WebP-Support. Hope that helps. Gruß Armin
  8. Hi @horst, that works great - thank you!
  9. Hi @horst, My ImageSizerEngineVips is based on your ImageSizerEngineIMagickCLI with code from other sizers. The module works fine, but at the moment only for my needs, because I optimized for speed and left some options like sharpening. But if I have the time and interest, I can polish it. Another thing: I only use WebP in pages with lazy loading and srcset. Because of that I have only variations as WebP, not the uploaded pageimage. Your change here checks not only variations, right? For me, it changes many variations that already exist.
  10. @horst, it's perfect for me. I already had WebP since your code from late 2018 and use my own ImageSizer, which relies on LibVips. The Vips engine is very fast - about 5 times faster than ImageMagick. I hope WebP will make it into the core soon - many thanks for your hard work!
  11. @Macrura Yes, its the latest version. For me, the function on line 41 gets fired once - on loading the field, but not on changing the tabs.
  12. I'm sorry, but it does not work for me either. I have three languages, the default (German) is working, the others not.
  13. If Hicks may join, I'd gladly be there ;-) Leipzig is not far away enough.
  14. Hi tpr, I can install and use 1.0.4 successful on my PHP-dinosaur ;-) Thanks!
  15. Changing to "wire('config')" was successful. The next "this"-error was on line 430 ( Using $this when not in object context). I changed the output to only "$disabledText" and now AOS is working on PHP 5.3.8 Unfortunately, I can not switch to a newer PHP version on the server because there is still an old application running PHP 5.3.8. Processwire is on latest Dev (3.0.40), but I think the error is because the old PHP. Thanks for your support!
  • Create New...