Jump to content

Claus

Members
  • Posts

    94
  • Joined

  • Last visited

Everything posted by Claus

  1. I downgraded to 7.0.5 and that works without issues. Thanks for the help!
  2. I’m on 7.1.5
  3. I just tried to install it a few times on the current release version, but I get this same error every time: Error: Uncaught Error: [] operator not supported for strings in /Users/me/git/site.net/site/modules/SimpleContactForm/SimpleContactForm.module:131 Stack trace: #0 /Users/me/git/site.net/wire/core/Modules.php(602): ProcessWire\SimpleContactForm->init() #1 /Users/me/git/site.net/wire/core/Modules.php(477): ProcessWire\Modules->initModule(Object(ProcessWire\SimpleContactForm)) #2 /Users/me/git/site.net/wire/core/ProcessWire.php(495): ProcessWire\Modules->triggerInit() #3 /Users/me/git/site.net/wire/core/Wire.php(380): ProcessWire\ProcessWire->___init() #4 /Users/me/git/site.net/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___init', Array) #5 /Users/me/git/site.net/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessWire), 'init', Array) #6 /Users/me/git/site.net/wire/core/ProcessWire.php(587) (line 131 of /Users/me/git/site.net/site/modules/SimpleContactForm/SimpleContactForm.module) This error message was shown because: you are logged in as a Superuser. Error has been logged.
  4. Before I install Wireshell I have a question: Can I use WS to batch set a field to a specific value on all pages using a specific template?
  5. BTW: What is the ETA on the final version?
  6. I tried to setup a download delivery (here on my local dev machine), and the process echos that the email with the download link was sent, but I didn’t receive the mail. So how is Padloper sending these mails? With sendmail? Where should I look for these (enqueued?) messages?
  7. It does have inventory. Don’t know to what extent it is implemented yet, but it is there.
  8. I have a button sending users to a checkout page, but I only want to show it when there is items in the cart. Is there an API call for this? if(count($cart->getCart()))
  9. Hey Martin I had a bit of consultation behind the scenes with Antti, and as it turned out Padloper can only add pages to the cart. So instead of using Profields or repeater fields I now converted to using PageTable pages, and that works. Now I just have to make MariaDB work again after I updated the box yesterday, but that is a whole other matter
  10. Thanks, I renamed $p to $page and then that worked. Now i just have to figure out how to deal with the repeater loop. As I wrote earlier I get this error: Notice: Object of class RepeaterPage could not be converted to int in /path/to/... I have a repeater-field called `shop_item` with this content: And I then foreach it like so: foreach ($page->shop_item as $product) { [stuff] } So, what should I do to make this work?
  11. Hi Martin I’m afraid it doesn’t quite get me there, I just get Notice: Undefined variable: p in /yada/yada/… Is this `p` variable supposed to be a part of Padloper? That not withstanding, I need to have my repeater fields because they *are* the products. And when I do that I get this error: Notice: Object of class RepeaterPage could not be converted to int in /www/site.site/site/modules/PadCart/PadCart.module on line 82 So I’m doing wrong or have an unexpected format in the `sc_item`. I’d love to not have to start again from scratch (there are hundreds of products), but if all else fails…
  12. Okay, so maybe someone can help a noob like me. I’m sitting here with the pages from the old shop system, and I want to convert them to PadLoper. I have this in my old add-to-cart page: //sc_item is my repeater field foreach ($page->sc_item as $product) { $contentThree .= "<span class='sc_item'>" . $product->sc_name . "</span></br>"; $contentThree .= "<span class='sc_price'>" . $modules->get( "ShoppingCart" )->renderPrice( $product->sc_price ) ."</span> excl. VAT"; $contentThree .= "<span class='sc_add'>" . $modules->get("ShoppingCart")->renderAddToCart($product). "</span>"; } What do I change – or said in another way – what are the PadLoper names equivalent to ShoppingCart, renderPrice, and renderAddToCart? (If this is in the documentation I can’t find it!)
  13. The version I have is the one from 24th of May - is that the latest one? The cart-add-product.php template is null - is there non-null version? ;-)
  14. Aha! Solved it, so I'm going to answer my own question in case someone else runs into this. The PHP must be compiled with the option ZIP to *really* have it "built-in". In the case of this OpenSUSE build, it is not, and must instead be installed using PECL. Initially the PECL install didn't seem to work, eg. `sudo pecl install zip`, until I realized that it needed the path too `sudo pecl install pecl/zip`, but then it worked.
  15. Hello people When trying to install a module via a ZIP-file I am getting the following error: Session: ZipArchive class is required and your PHP does not appear to have it. I don't understand why this happens! I have the latest and greatest PHP 5.6.9 and path to the extensions is correct, and the Zip-extension should be built-in (since 5.3.0 I think). I'm only encountering this on a OpenSUSE Tumbleweed box, where I have php5-devel installed. My check_php.php file show that the Zip and Zlib listed under 'Modules'. What to do?
  16. It’s a sad state of affairs. I’ll see what my local rules are.
  17. Oh dear gawd. So I have to tally the sum of deferred VAT and then reverse charge that… ? Jesus what a complicated system.
  18. It is an EU thing now. The shop needs to support the lookup of the buyer’s VAT-number, and if found valid delete the VAT from the bill.
  19. In the ways I tell him to No, I mentioned what I need in this post:
  20. For my part I can say that I have hired a developer to extend the existing ShoppingCart. Haven’t started yet, but it feels a bit silly to develop something that would quite possibly be included in the new shopping cart system. The developer I’ve taken on is very capable, so if you want to have his eyes on your new system let me know .
  21. I would be very interested in this module. Currently fiddling with the existing ShoppingCart, but there is a lot of features I need to build on top of it (invoice generation, license agreement generation, taxes, VAT lookup, emailing and so on).
  22. Hello there I would like to use one of the custom fields in the ShoppingCart as a company name, and then have it moved up to the top of the listing on the checkout page. I can get the field activated but I can’t figure out how to move it to the top of the list. Can someone tell me where (and possibly even how) to perform the surgery?
×
×
  • Create New...