
marie.mdna
Members-
Posts
40 -
Joined
-
Last visited
Profile Information
-
Gender
Female
-
Location
The Netherlands
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
marie.mdna's Achievements

Jr. Member (3/6)
24
Reputation
-
Repeaterfield on product template
marie.mdna replied to Spinbox's topic in ProcessWire Commerce (Padloper) Support
@kongondo Yes! π I've added/removed/edited images within the variants and it all seems to save perfectly! -
Repeaterfield on product template
marie.mdna replied to Spinbox's topic in ProcessWire Commerce (Padloper) Support
Hi @kongondo, I am replying here (but will also do in github for coherence), but thanks to the deepwiki I might have found a simple fix while trying to add repeaters do enhance products on frontend and ended up seeing this same issue. There would be something simple to add into InputfieldPWCommerceRuntimeMarkup.module: // in protected function buildForm($pages, $isNew = false, $cnt = 0) // around line 486 // replace the original $wrap->addClass('InputfieldPWCommerceRuntimeMarkupItem.... // $wrap->addClass('InputfieldPWCommerceRuntimeMarkupItem InputfieldNoFocus InputfieldRepeaterItem'); $classes = 'InputfieldPWCommerceRuntimeMarkupItem InputfieldNoFocus'; // Only add InputfieldRepeaterItem if no actual repeater fields exist on template if (!$this->templateHasRepeaterFields()) { $classes .= ' InputfieldRepeaterItem'; } $wrap->addClass($classes); Helper: // around line 1190 private function templateHasRepeaterFields() { $template = $this->page->template; foreach($template->fieldgroup as $field) { if($field->type instanceof FieldtypeRepeater) { return true; } } return false; } Hope it helps! -
Hookable methods in PWCommerce
marie.mdna replied to marie.mdna's topic in ProcessWire Commerce (Padloper) Support
Amazing! This is probably the topic I've been missing I'm not testing on multi-lingual at the moment, but that will definitely be something I'd have to test then as I am based in the Netherlands π Also, I haven't mentioned it, but you've done an incredible work, I already feel I've learned a lot! -
Hookable methods in PWCommerce
marie.mdna replied to marie.mdna's topic in ProcessWire Commerce (Padloper) Support
Hi @kongondo! Thanks for this new topic, it might indeed be easier! No worries, please take your time to go through them, I admit not being the most familiar with module building so this also comes as a learning experience π I'll be getting a good look at it, thanks @bernhard! I've been adding hooks in /site/ready.php, but as soon as I posted a message I got some progress! It turns out that I naively expected "Padloper" parts to simply be replaced by "PwCommerce" and then searched for more documentation π //Original Padloper $this->addHookAfter('PadloperProcessOrder::checkCustomOrderCustomerFormForErrors', null, 'customCheckCustomOrderCustomerFormForErrors'); //Expected edit $this->addHookAfter('PwCommerceProcessOrder::checkCustomOrderCustomerFormForErrors', null, 'customCheckCustomOrderCustomerFormForErrors'); //Actual hook $this->addHookAfter('PwCommerce::checkCustomOrderCustomerFormForErrors', null, 'customCheckCustomOrderCustomerFormForErrors'); Exactly π this is why I didn't offer my help on writing the documentation...yet! -
Hi everyone! @kongondo Iβve been really enjoying testing PWCommerce and exploring its features. I'm currently digging into hookable methods, especially around extending things like the custom checkout customer form. I've reviewed Demo 2, Demo 3, and the hook documentation, and also tried several example hooks shared in the forums, always keeping in mind the transition from Padloper to PWCommerce. That said, I havenβt been able to get any of those hooks to actually trigger, not even a simple log entry. I suspect this might be due to class or method name changes under the hood, but I'm not entirely sure. Does anyone know if there is an up-to-date way to inspect which classes and hookable methods are currently available in PWCommerce? A class map, autoload overview, or even a debugging tip would be super helpful! Thanks in advance!
-
marie.mdna started following PaymentStripeIntents , ProcessWire Commerce: Help Needed , EU taxes for digital products and 3 others
-
ProcessWire Commerce: Help Needed
marie.mdna replied to kongondo's topic in ProcessWire Commerce (Padloper) Support
Hi there! Unrelated to the documentation, but I wondered how we would report bugs/suggest fixes, I've noticed a couple things while manually adding orders. Maybe another thread? Looking forward! -
hey @bernhard no worries, hope you feel better! Thanks for the extensive answer, I always appreciate following the logic behind the scenes, especially on real case scenarios π Of course with Processwire almost everything is possible out of the box! I mostly wondered as I have built some solutions for clients without ever going down the Module path, and was simply wondering if these were things you already thought about π
-
Hello there! Happy to see e-commerce solutions appearing more and more on Processwire! I've had a quick look at your documentation and was wondering if RockCommerce already supports digital goods, or events booking? Being within EU and having a good amount of clients selling to other businesses, does the cart allow to check on VAT numbers validity for applying VAT?
-
thank you both! just tested it all and it already feels amazing
- 35 replies
-
- 2
-
-
- antispiders
- anticrawler
-
(and 2 more)
Tagged with:
-
This seems very useful! I might have a silly question as I haven't read the module's code yet, how can I simply test if the blackhole page works as expected (on local) without eventually being blocked myself? And when some bots are caught, will I see it in my backend ?
- 35 replies
-
- 1
-
-
- antispiders
- anticrawler
-
(and 2 more)
Tagged with:
-
Hi everyone ! Thank you for the great module π I love using it but keep facing some trouble on live, I am getting this error : "Error: Exception: `sass/vars` file not found for @import: line: 5, column: 1 In /site/modules/Scss/vendor/scssphp/scssphp/src/Compiler.php line 6102" I've found this @import within the admin "/wire/modules/AdminTheme/AdminThemeDefault/styles/jquery-ui.scss" but I have no idea what is behind this error as I don't have in locally... Note that I use Uikit as my default Theme (in case it has anything to do with it). My ready.php is as follow: /** @var Scss $scss */ $scss = $modules->get('Scss'); // Find all files with .scss extension in /site/templates/scss. // You can adjust that to your needs! Note that this might impact your // websites performance. Usually $files->find() is very fast, but the more files // you scan, the slower it will get - so try to be specific with your find(). // Also see https://github.com/processwire/processwire-issues/issues/1791 $watchFiles = $files->find( $config->paths->templates . "styles/scss", ['extensions' => 'scss'] ); $scss->compiler()->setImportPaths($config->paths->templates . "styles/scss"); // compile input SCSS to output CSS $scss->compileIfChanged( input: $config->paths->templates . "styles/scss/default.scss", watch: $watchFiles, // you can optionally define a custom output path // if not defined it will use the input path and replace .scss with .css output: $config->paths->templates . "styles/default.css", // by default the output will be minified, use 'compressed' or 'expanded' // style: 'compressed', ); $modules->get('Scss')->watchCore(); when my default.scss is in /site/templates/styles/scss/default.scss and my output css is /site/templates/styles/default.css Does anyone have an idea on how to solve this? For now I am only able to navigate my site when I comment the whole watchCore. Thanks in advance !
-
PagefileSecure and Page::isPublic() hook not working
marie.mdna replied to thetuningspoon's topic in API & Templates
Hi everyone ! I come with a (maybe) specific case. I am working on a site which displays customs fonts to all users (even guests). They are unique and shouldn't be downloadable as the designer remains the owner. However I cannot figure how to set up the templates for guest to see but not access the files at any given moment (everything I've tried seems to work when I am logged in as a superuser). I have tried $config->pagefileSecure = true; and $config->pagefileSecurePathPrefix = '-'; and tried the $files->send() method (https://processwire.com/api/ref/wire-file-tools/send/) but it only results in 500 errors. Does anybody have a clean detailed solution for: securely storing font files calling those files within css @font-face while making them secured and not accessible (even when inspecting the page) managing the fact that guest can still see the fonts I can't wait to hear your suggestions ! -
hi @strandoo, thank you for the extensive answer, this is perfect and gives a clear guidance on the steps to look for! I already made some progress based on your last answer and it already helped greatly ! Thanks again
-
@benbyf thank you for your answer, I'm pretty interested in seeing it someday ! @strandoo Oh this is very interesting ! I had no idea the it was possible to connect accounts, definitely something I'll have to look into ! Also your specific case seems to be exactly why I had in mind, would you be able to share some snippets of your pw structure ? Also, I am curious to know if there is a link to see the final product in a live environment π
-
Hi ! I was wondering if this module would allow to have multiple stripe users within the same PW website? My case is that each product is sold by someone different, it would be amazing if they could then receive their payment directly. Any way to achieve this?