-
Posts
7,529 -
Joined
-
Last visited
-
Days Won
160
Everything posted by kongondo
-
Paginated variants on product edit screen
kongondo replied to alexm's topic in ProcessWire Commerce (Padloper) Support
Hi @alexm, Lazy loading (htmx-ajax) of product variants is now implemented. I have not yet implemented pagination. Still having a think about that. To set the threshold for dynamic loading of product variants please see the Details Tab of the field 'padloper_runtime_markup'. Settings are: -1: No lazy (ajax) loading. 0: Always lazy (ajax) load. > 0: Lazy (ajax) load if the quantity of the product variants for the product being edited exceed specified threshold. Thanks. -
The Rest of the World (ROW) special shipping zone feature is now working properly. This shipping zone works as a catch-all shipping zone for countries that have not yet been added to any shipping zone in your shop. However, the countries must have been added to your shop as well. This is for tax purposes and for physical goods, a shipping country. It is not required to add these countries to the designated Rest of the World shipping zone. They will be picked up automatically by Padloper. Please see the screenshots below. To remove a country from the Rest of the World shipping zone, just add it to another shipping zone. In summary, to use a Rest of the World shipping zone: Create a Rest of the World shipping zone. You can call it anything you want. Add at least one shipping rate to it. You can use flat rate shipping or calculated shipping (based on weight, price or quantity) or a mixture of these. In your shop General Settings > Shipping, specify the shipping zone you created in #1 as your Rest of the World Shipping zone and save You shop is ready to use the Rest of the World Shipping zone. In checkout, in the countries dropdown, your customers will see all the countries in your Rest of the World shipping zone as well as the names of the countries in the other shipping zones. Screenshots Add country to shop (Tax Rates) Add ROW shipping zone Matching countries are automatically displayed as part of the ROW shipping zone Create at least one shipping rate in ROW shipping zone Specify ROW in General Settings > Shipping ROW countries displayed at checkout
-
Padloper 1 vs 2 feature comparison list?
kongondo replied to PWaddict's topic in ProcessWire Commerce (Padloper) Support
@PWaddict Videos are taking much longer than planned. I have a demo site though. I can give you access to the backend if that would help? -
Hmm. This is confusing since I also checked (on your test site) when it was still available and I was getting a different error related to product images. I am just curious how this resolved itself. Happy to hear the errors have gone away. Anyway, please let me know if you continue to receive other errors. If that happens, please open a separate thread for it in this forum, thanks.
-
Why is it not good practice? ? This is already supported (version 0.2.7):
-
Hi @Jan Fromm, Thanks for the details. I have now identified what the problem is. It is Rest of the World feature. I should have been clearer in the docs that it is not yet fully functional. It is high on my priority list since I decided to include it in the production release. I hope to finish work on this by this weekend. Apologies for the inconvenience.
-
Welcome to the forums @siaweb. Do you mean each submenu to have a unique subclass? That is not possible using $menu->render(). Instead, I'd suggest getMenuItems(). Please see its documentation and examples here. Hello @Clarity, The menu name is automatically created from the menu title. It is not separately editable via Menu Builder (it's a page though). Could you please explain why you need access to the name?
-
New Dynamic Selects Here is a preview of the upcoming update to Dynamic Selects (version 008). It is still early days and I don't currently have an ETA. This upgrade redefines the 'select' in Dynamic Selects. You are no longer tied to this <select></select>. This upgrade will give developers control over how they would like to have their Dynamic Selects rendered both in the Inputfield and in the frontend. This is possible thanks to htmx and ProcessWire's TemplateFile class. These allow for partial rendering of templates generated server-side. For each Dynamic Selects data type (Page, Template, User, Field), there will be a default partial templates which receive an object of that data type. For instance, a Dynamic Select that wants to render children of a selected page will receive the PageArray containing those children at their partial template. Developers wanting total control of any partial template will only need to duplicate a partial template and save this to a designated folder under /site (similar to Padloper) and customise that as they wish. This opens up a myriad possibilities. Your markup, your way. You want to render a HTML table, fine. An accordion? Fine. A photo gallery? Why not! The above also means all ProcessWire fields, including custom ones will be supported. This is because the partial template will receive the relevant object. With custom partial templates, this leads to endless possibilities. Repeaters, complex fields, any field. You could even combine this with Padloper to allow your customers to search for or preview products in very creative ways. Because these new version uses template partials, it means you can employ access controls in any part of the Dynamic Selects , for instance, show different fields or markup depending on user's location or if logged in, etc. Using the power of htmx, it also means you can output markup to different places simultaneously (Out of Band Swaps). @999design, this could cover your need in your post above about triggering more than 1 select.
- 96 replies
-
- 3
-
-
- chained-selects
- dropdowns
-
(and 2 more)
Tagged with:
-
Hi @Maverick, Apologies it has taken too long to resolve this. I have now fixed this. All selects are sorted alphabetically both in the back and frontend. If your download link has expired, please let me know so that I can send you the files personally. Thanks.
- 96 replies
-
- 1
-
-
- chained-selects
- dropdowns
-
(and 2 more)
Tagged with:
-
Hi @Jan Fromm, I haven't been able to replicate this unfortunately. My testing: I have tested with the in-built checkout form. I have tested with invoice, Stripe and PayPal and they all work. I have tested with different countries. I have also tested with and without handling and shipping maximum fees. I have also tested with a single flat shipping rate = 0. This is a shipping zone with only this one shipping rate. The only difference is I am testing on ProcessWire 3.0.187 but I don't think that makes a difference. My questions: Is this site online somewhere I can look at? If no to #1, are you able to please share some screenshots of your setup? You can send this to my email or via PM. I'd like to see your General Settings > Standards Tab; Tax Settings; Tax Rates list showing your (shipping) Country (i.e., the customer country you are testing with in checkout); Your Country in tax rate edit mode; Countries Tab for the shipping zone for your Country + the Fees tab; The Rates tab for this shipping zone. Thanks.
-
-
Happy to report that this issue has now been resolved. Thanks to @csaggo.com for the report and proposing a solution. This has now been implemented across all number HTML inputs. To upgrade, please grab the latest download. ps: the UI has changed slightly from the screenshots I posted in earlier posts in this thread. Thanks.
-
Congrats @ryan and the whole community!?
-
First, ensure that you have these countries set up in shop > tax-rates. You get there via the menu Taxes > Tax Rates. If you already added a country, it will be listed in the table there. Ensure the country is not unpublished. It will show 'unpublished' below the name of the country if it is unpublished. If your countries are not yet added, you will need to add them by clicking on 'add new country'. Then, select your countries and save or save + publish. You can then add the countries to the shipping zones as needed.
-
You are right in this respect. If you look at line #600 in PadloperInputfieldHelpers.php I have comments (to myself) and TODO whether to return a different error or handle this in a different way. I left it as it is for now so that developers could pick on the error early on, instead of silently failing. I'll look into it. This tells me you haven't added shipping countries to your shop, perhaps? Or, you did not select a shipping address country during checkout? email and shippingAddressCountry are required fields in customer checkout. Are they not being shown as required during checkout? The checkout form should have not submitted without a required field completed. Is this a custom form you are using or the inbuilt Padloper one?
-
How to find a page in process wire admin given a URL
kongondo replied to Peter Oehman's topic in General Support
With respect to templates, from the frontend, there is no way to tell. You might get a clue from the URL but there is no guarantee that the developer who worked on the site previously did not implement some sort of URL mapping/ rewriting. In addition, the page name (this is what is used to build the URL on the fly) is not guaranteed to match the page title since the previous developer might have amended those as well. Instead, I'd suggest using Lister to show you the information for various aspects of a page. If you don't have Lister Pro, use the core module Lister. Head to you menu Pages > Find. The select the Tab 'Columns' and add Http URL or URL depending on your needs. Templates should already be selected. That should give you a good start. There are filters there as well that you can play with to narrow things down, e.g. filter by URL (URL = /some/url/. Welcome to the ProcessWire forums ?. -
None of those are supported at the moment.
-
Hi @Spiria, I have merged your original thread into this one in the Security forum as it closely aligns to your post. Please feel free to delete/amend the extra post as required. Back to your question: I'd suggest to go ahead and do this, just to help you in the interim. JqueryUI and JqueryCore are used pretty much everywhere in the admin. Probably only Ryan knows about possible side effects. Maybe send him a PM? Alternatively, it might be worth opening a GitHub issue? Although these libraries are not used in the frontend, as an Insurer, I'd want to be sure the my client locks both their front and back door ?.
-
@csaggo.com This shouldn't be the case any more as we now use a plain text field. This means that you should enter your decimal as usual for your country (i.e., comma). Thousands will be automatically formatted (i.e. in your case, periods will be automatically inserted as you type to separate your thousands). As you are aware, the primary issue is that HTML input of type number does not allow commas as decimal characters. Hence, a JavaScript solution is needed as a robust solution. Yes, this is true. However, I have to cater for 300+ international locales. In addition, I'll also need to take care of percentages (working on this now), e.g. in shipping rates. Without those symbols it can get very confusing. I'll try a different fix and report here. In addition, if you are developing remotely, if possible, could I have a look at your site and try and debug this? A temporary login would do. Please PM or send and email if this is possible. Thanks.