Krlos
Members-
Posts
202 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Krlos
-
module SnipWire - Snipcart integration for ProcessWire
Krlos replied to Gadgetto's topic in Modules/Plugins
@Gadgetto thank you for your reply, Do you plan to update Snipwire to version 3? In the meantime, I am testing your module to see if I can use it in any project in the near future. Everything is working fine except when I try to place an order in test mode I get this error in the last step of the check out: Everything works perfect, except when I'm placing an order and in the last step the payment throws this error: We have not been able to validate your order. Looks like some product prices might have changed since you added them to the cart. Please review your order and try again. I changed the payment currency from Euro to CLP and snipwire was able to correctly read the change from Snipcart dashboard. I removed snipcart_item_price_eur field from snipcart-product template and added snipcart_item_price_clp. Then it gives me the following message: It looks like this item is not available anymore. You may need to contact the merchant to get this resolved as it may be a configuration problem. By continuing this item will be removed from your cart. When I check the Snipwire log file I see this: Snipcart product with SKU [BEER-10001] could not be fetched. 500 Internal Server Error: I'm testing in my local machine. Processwire 3.0.148.- 235 replies
-
- shopping cart
- snipcart
-
(and 2 more)
Tagged with:
-
Installing Processwire using composer in the current folder
Krlos replied to Krlos's topic in General Support
I got this error: [InvalidArgumentException] Project directory "/Users/keiichi/Documents/Sites/tienda/." is not empty . -
Hello, I want to benefit from this lockdown to learn new things. I am trying to learn how to use processwire with composer to use external libraries in my projects. I have followed the documentation to install processwire using composer: composer create-project processwire/processwire but composer is installing processwire inside another processwire folder. I usually start my projects downloading processwire zip file in to my Mampro project root. Can I move all the files up? or I'm doing something wrong?
-
module SnipWire - Snipcart integration for ProcessWire
Krlos replied to Gadgetto's topic in Modules/Plugins
Hello. I am impressed by the work you have done with your module. Congratulations! You are incredible!. I am evaluating snipcart for a store for a friend who has a very low budget. I would like to know how difficult it is to implement a new payment gateway, in my case I am from Chile and none of the gateways offered by snipcart can be used by credit cards here. I am not an expert in php nor in processwire. I have implemented websites in processwire, so I have some experience with the framework.- 235 replies
-
- shopping cart
- snipcart
-
(and 2 more)
Tagged with:
-
Need help installing Mollie module with composer vendor files
Krlos replied to bramwolf's topic in General Support
Hi @bramwolf, Could you solve the problem? I also need to integrate a payment module in an existing Processwire installation. Can you share how you did it? -
Thank you @jonatan, I will check those links.
-
Thank you @bernhard I will try RepeaterMatrix, I had the impression that it would be somewhat easier. I haven't used Wordpress in several years (I'm so happy!), so I don't know what state is the page builder compared to Processwire.
-
Hi friends, I'm working on a blog site that needs diferents layouts in the same page, how do you deal with body text layouts like these? Using a single CKeditor field? Ckeditor classes?, my editor is not tech oriented.
-
Nice!, I have a PW website that runs rock solid on a managed VPS at Knownhost, unfortunately it is far from the budget for this website I'm tring to set up properly on Webfation.
-
Yes, unfortunately the owner did not want to change the webhosting. Do you have any recommendation for a not so expensive webhosting that runs Processwire without problems?
-
I have progressed a little bit: If I set "Only HTTPS" on the template using Processwire backend, the site resolves. But I have to enter manually "https://" otherwise I get an error. If I set RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] on the .htaccess file I get an instant error. Thank you
-
Hi, I have a website hosted at webfaction and I was trying to activate SSL on this website, but now I'm having ERR_TOO_MANY_REDIRECTS error. They have a custom panel to administer websites and from their support docs I found this code that should be placed in .httaccess, but I don't know how to integrate this with processwire .httacess RewriteEngine On RewriteCond %{HTTP:X-Forwarded-SSL} !on RewriteCond %{REQUEST_URI} !^/(.well-known)(/|$) RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] I have uncomented the lines, everything else is default processwire 3 .httaccess # ----------------------------------------------------------------------------------------------- # 9. If you only want to allow HTTPS, uncomment the RewriteCond and RewriteRule lines below. # ----------------------------------------------------------------------------------------------- RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] as I have done before and it worked perfect on Cpanel hosting. Any ideas? Thank you!
-
1+ for KnownHost VPS. Great support, most tickets are answered in less than 2 minutes. I have a website hosted there running more than one year 100% uptime.
-
Thank you @BitPoet It worked perfectly!
-
Thank you! this is working great. But now I have request, how can I order based on day of birth. I have this selector: $result = $users->find("profile_birth_date.month=$mes, sort=profile_birth_date"); but is not sorting. I tried adding .day to the profile_birth_date selector but I got this error: Error: Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column '_sort_profile_birth_date_day.day' in 'order clause' (in /home/xxxx/xxxx/wire/core/PageFinder.php line 413)
-
I'm using default datetime field. In my users template I have: but in the custom field is stored: I guess if I construct a date like (month-day): $monthAndDay = "11-18" should match 1962-11-18 00:00:00 but using selector (or any other operator): $result = $users->find("birth_date~=monthAndDay"); it just output all users.
-
I have tried all selector operators, none of them work for me.
-
Hello, I suspect that this is very easy, but I can not find the solution. I have created a custom field birth_date in my users template. I'm trying to output users that are celabrating her/his birthday today, but I can't find a selector to do the job. I was checking the data stored in the custom field and is like this: 1992-10-23 00:00:00 I'm using this selector: $result = $users->find("birth_date~=today"); when I use that selector, it just output all users.
-
[SOLVED] ERR_CACHE_MISS error when click back button
Krlos replied to Krlos's topic in Getting Started
Thank you @Soma, you were absolutely right. Using get instead of post fixed my problem! -
Hi, I have a page with a form for searching field data. After the results are shown I have a link to view details for every result match. Everything is working fine but after I click to view a detail and try to go back to the results page I get ERR_CACHE_MISS on Chrome and Firefox. I have been reading about this issue here The solutions posted is to add this headers to the page: header('Cache-Control: no cache'); How can I add this header to a template? Thank you
-
Exactly, I know about this. Could be posible to capture the download file and open it in pdf.js for example? Right now I'm using secure file like this: I pass the file ID to a download template where it queries and serve the file. I was experimenting with Fancybox, usign this code: <a data-fancybox data-type="iframe" data-src="download/?=fid" href="javascript:;"> Sample PDF file </a> If I use a hardcoded or a relative pdf url it woks, but as SecureFile has no URL (As far as I know) I'm getting an error not found.
-
Hello Again! I was able to make this module work... but now my client wants to open the PDF file on a lightbox or something so users don't need to download and open the files everytime. I have tried many things but browers allways open download prompt, there is a way I can alter the behavior? Much appreciated
-
Thank you, I will do that.
-
No, the profile template is not access managed is by default .
-
I just found this fieldtype, I will look in to that. Thank you.