DrQuincy
Members-
Posts
293 -
Joined
-
Last visited
-
Days Won
1
Everything posted by DrQuincy
-
I have been using repeaters as a kind of modular page builder where I have a drop down (e.g. text, image, video) and then have been showing fields in the repeater based on the drop down selection. I have noticed that ProFields Repeater Matrix seems to do this out of the box (and PageTable might've been a better choice as well!) so this will save me an awful lot of time long term. I am partway through quite a complex site though and am wondering if I buy ProFields now and install it can I convert the repeaters to Repeater Matrix fields without losing any of the content I have already added? Thanks! P.S. I am a lone web developer but I do some white label work for agencies. Can I use the ProFields plugin as a single license when working for agencies? It would appear that I can do as many sites as I like for whomever I like so long as it is only me developing with it. I thought I'd check though.
-
In site/config I always thought $config->httpHosts was a list of HTTP hosts that were allowed to run the site. E.g. if domain1.com, www.domain1.com, domain2.com and www.domain2.com were all pointing to the web root and you only had ['domain1.com', 'www.domain1.com'] in $config->httpHosts then it prevents domain2.com and www.domain2.com from being allowed on the site (so you'd redirect them site-wide via .htaccess instead). But I have just been playing around with it and it doesn't seem to make a difference what the values of this array are. What does $config->httpHosts do exactly? Thanks.
-
Thanks @johndoe. That's useful to know. I seem to be doing more PW sites these days so it will be worth getting the form and fields plugins. Just checking, did you mean $files? It' not a big deal either way as you can just use finfo_file() in the backend. Front-end you can just check the file extension in case of user error. Let's say you want to add Dropzone JS file uploads that upload immediately after they are added is it easy enough with FormBuilder to write custom front-end jQuery validation so that the form can't be uploaded until there is at least one file uploaded, all files have finished uploading, etc? Thanks.
-
Get template in InputfieldFile::fileAdded hook
DrQuincy replied to DrQuincy's topic in API & Templates
Thanks for showing the path to working it out, that's great! ? -
Get template in InputfieldFile::fileAdded hook
DrQuincy replied to DrQuincy's topic in API & Templates
Thanks to you both. Thanks Robin, I'll try that! I thought it should be easy but I am new to hooks and couldn't find a way to get from $event to the template. -
Thanks Robin. It's not a big deal but good to know it's not me doing it wrong. Does the ProFields plugin bring this functionality? I did read something that implied this in another post but I thought ProFields added new fields rather than enhanced existing ones.
-
For the Select Options field: Is it possible not to have a blank empty option at the top? What is the difference between Input > Default options and Details > What options do you want pre-selected? (if any)? Thanks.
-
When using a repeater Visible if… seems to work but not Required if… So, I have a Select drop down in the repeater (foo) and I only want a field to be required if this drop down equals a certain value (6). So, I put in the Required if box foo=6 and it seems to treat it as a required field regardless of the value of foo. Is this some kind of limitation with repeaters? Thanks.
-
I am resizing images immediately after upload using this in admin.php: wire()->addHookAfter('InputfieldFile::fileAdded', function($event) { /* ... */ }); The image field can obviously be used in multiple templates and sometimes I may want them sizing differently and want to avoid creating image variations that won't get used. Is it possible to get the template this field belongs to from $event? Thanks.
-
I am doing a PW that has a form where users can submit a PDF or Word doc. I am interested in trying FormBuilder and can see that it supports files. What I would like to know is: For file inputs does it have a drag-and-drop file upload progress bar support (like Dropzone.js)? I.e. so if a large file is part of the form there is a progress bar for better UX. I know I could use $.ajax({xhr: function() { window.XMLHttpRequest().upload.addEventListener('progress', (evt) => {})… but wondered if it had all this built in. For larger files I just want some feedback to the user that it has not frozen. Does it handle file validation in the front and back end (using finfo)? Do you have full control over the HTML and CSS used in the forms? As an aside, is it possible to demo FormBuilder, ProFields, etc on a test site before buying?
-
Is it possible to create an advance eCommerce website?
DrQuincy replied to Samk80's topic in Getting Started
Well, that is exactly what I am doing right now, thinking about it. ? I am playing devil's advocate rather than disagreeing with you as it helps determine the pros and cons. Processwire is open source. Should Ryan decide tomorrow he's had enough while it would be a massive shame the community could take over due to the open source license. And I haven't checked on github but I'd imagine while Ryan leads it because it's likely developed with git others have pushed code to it as well. Even if you have the source to something if it has a commercial license you almost certainly can't carry on development with it without the owner's permission. That's just the point I was making.- 29 replies
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
DrQuincy replied to Samk80's topic in Getting Started
That sounds very promising. My only issue here is that since it is not open source I am concerned about the fact it is owned by a single person rather than a larger company. Is there any plan/agreement to open source it should commercial development cease? For those using V2 are they now left without support, security patches, etc? Don't get me wrong, I appreciate the time and effort put into this but I owe it to my clients to ask these questions.- 29 replies
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
DrQuincy replied to Samk80's topic in Getting Started
I have used Shopify once a long time ago for something really simple and it worked quite well — and have used Opencart and the experience was absolutely horrendous. Plus a couple of others but most of the time I end up coding them myself for these reasons. I use libraries to speed things up but, in general, I find there is often something custom the client wants. With some systems even if this is a minor thing it can be impossible or a huge headache. Only yesterday a colleague was encouraging me to try Shopify again as he says there is very little you can't do with it and it has improved a lot since I last used it. I may do if I get the time but I am going to try Perch Shop as it looks interesting, PW + Snipcart and, when V3 goes into production, Padloper. Custom work is my bread and butter but of all the CMSs I have used Processwire is far superior to any others so an online shop module that works with it would be great so long as it is not restrictive. I don't go out of my way to do online shops as they aren't my favourite kind to build but I predict there will be a lot of this work around now as online sales have proved very effective during the pandemic.- 29 replies
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
DrQuincy replied to Samk80's topic in Getting Started
Thanks. So the PW + Snipcart option is for lower volume of sales — but that's probably most of my clients anyway.- 29 replies
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
DrQuincy replied to Samk80's topic in Getting Started
No worries, thanks and keep up the good work! All added to my list of things to try out. ?- 29 replies
-
- 1
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
DrQuincy replied to Samk80's topic in Getting Started
Thanks @Gadgetto. After looking at your module and the docs you linked to this is looking like a very attractive offer and a good, solid product. I am particularly impressed that they validate the data from the referring URL. your module looks excellent too. So, it looks like your module brings most of what the client would need from Snipcart into the PW dashboard. That is a massive bonus as the fewer logins the client needs, the better. Sorry, what do you mean by this — do you mean it's undecided as to what the best way is? Thanks, is it possible to make the checkout load in page between your site's header and footer as opposed to in an overlay?- 29 replies
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
DrQuincy replied to Samk80's topic in Getting Started
I'm very interested in this. Would you mind giving a brief summary as to how this works? In PW how do what field type do you use for product variations (e.g. size and colour of clothing)? Snipcart checkout is a popup on your site, right? If so, how much can you customise the look and flow? How easy is it to run code after failed and successful transactions so you can update stock, send emails, etc? Is it just like webhook endpoints in Stripe? Does Snipcart allow you to mitigate tampering with the basket? If you pass everything, including the price, to Snipcart via data-* attributes then the user could inspect the element and lower the price. Can you prevent this from happening? Thanks.- 29 replies
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
DrQuincy replied to Samk80's topic in Getting Started
Thanks for this — very interesting. But how are Shopify only charging you $266? Is this what Shopify charge for the monthly fee, i.e. without the payment gateway? I thought they took something like 2.9% + 20c + monthly fee. Snipcart appears to be 2% + Stripe fees. Is the saving the fact Shopify charge a flat monthly fee and Snipcart take 2%? The actual payment gateway fees look similar.- 29 replies
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Thanks, I'll have a look later. I take from what I have seen it that a JS library handles the cart and then it goes through to Snipcart for the payment. If this is the case do you have much control over payment pages flow and style? Also, I note that offer Inventory Management. How do you sync the inventory of Snip with PW. Or is that for if your site is static and can't do inventory management?
-
Hi Craig, With Snipcard, how does it work? Do you add the products to PW or Snipcart? What handles the payment gateway? E.g. Stripe.
-
Hi both! Yes, I have seen that thread! I think V3 is out of the question for now but was interested in what the state of V2 was. If it's not supported or widely used I might be best rolling my own if there is no suitable library either. I looked at Sylius and it seems like you can decouple what you want but is probably overkill for what I want. These are my concerns too. V2 is unspported and V3, even once ready, seems to be managed by one person. I am more than happy to pay but am a bit uneasy about putting all the eggs in the basket of a single developer. I'm thinking that I can just use a repeater for product options and the ID or a SKU field for mapping it to the basket. Is there anyone out there who is using Padloper V2 who can allay any of these concerns? I think PW is the best kept secret in the world of PHP CMSs (as in it hould be way more popular than it is) and initially thought it a shame there was no eCommerce capability. But it does bring me back to the point in my original post that it is difficult to create an eCommerce platform since requirements can be very specific so maybe it's as it should be. Having said that, on paper, Padloper does look very good from what I've seen.
-
I've used a lot of CMSs, frameworks and libraries over the years and have never really been blown away by any eCommerce platform. Padloper looks good though and I have a fairly simple online shop coming up. I am wondering whether to just code the cart and payment gateway parts myself on top of a PW install — or use Padloper 2. Given it is not supported would you still recommend its use? Are there a lot of people here using it in production and therefore you can get support here? It's a shame v3 is not ready yet. Are there any pure code cart and payment libraries or frameworks that can be easily plugged into PW via composer? Thanks!
-
That's it exactly, thanks Jens! ? I can confirm enable the option specified here shows the Trash option in the tree view.
-
I have added a user with restricted permissions; there are two templates that I have allowed them to delete. When you go into a page that belongs to one of these two templates the Delete tab is there and they can move it to the trash. They cannot see the trash though. What is missing though is if they hover over a page belonging to one of these templates is the Trash button. Is this expected behaviour (because the user cannot see the trash)? Is there any way to give a non-superuser the tree view Trash button for templates they can delete? I am not bothered about them seeing the trash in this instance but it is a shame they have to go into the page to delete it when there is potentially a button that can do it from the tree view. I did fund a thread where Ryan said non-superusers cannot be given access to the trash — does this still stand? Thank you!