Jump to content

WireCodex

Members
  • Posts

    404
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by WireCodex

  1. In the Processwire world Padloper will be the right option (for safety you'll have access to the source code), @kongondo is working hard, and he is building a great piece of software, reproducing almost all Shopify functionality, but if you are in a hurry you can use the ones we have shown here, simply chose the one that best suits your needs.
  2. Shopify Basic: $29/mo + Payment Gateway: 2.9% + 30¢ each sale Shopify Standard: $79/mo + Payment Gateway: 2.6% + 30¢ each sale Shopify Advance: $299/mo + Payment Gateway: 2.4% + 30¢ each sale Snipcart: 2% each sale + Payment Gateway: 2.9% + 30¢ each sale
  3. Yes! the place that belongs to PW ?
  4. https://modules.processwire.com/modules/process-hanna-code/ https://modules.processwire.com/modules/hanna-code-dialog/
  5. http://www.openwebanalytics.com/ ?!
  6. Yes, for me it has worked as follows: I'm not brave and complex enough to go with Laravel, but I'm also not cowardly and simple enough to go with SquareSpace ? so Processwire fits me like a shoe ?
  7. Done!
  8. But I want to comment ? ..when you release Padloper2, Can you create a tutorial, or better a course, how to use Vue+PW in modules development? I think if you put it on Udemy, some of us might buy it.. I would like to start creating modules and I think Vue is the way. You will allow us to know if this will be a bigger and better step than using UIKit in Processwire. Thank you for bringing this to our environment.
  9. For me, it depends on the types of users, there are "Back-end Users" and "Front-End users". For the first I don't need to adjust the look and feel, just control the access/actions to avoid problems, mainly they are people from the business administration or team specialists. For the second, I generally need to create a profile/settings section on the Front-end that matches the look of the website/brand. Usually they are public/unknown people/customers from all over the world and I always want to keep them out of the PW core. But is not a big deal because building a custom Front-end user manager or access control is also very easy using the API. For this particular project it's easy to do it on the Front-end, you just need to know the user/role logged to show/hide information in the template files. Using the free LoginRegister module is essential, but if you can go for the Pro version, much better.
  10. Can you put a screenshot here of your Template settings (Setup/Templates/Parent_Template_name) ?
  11. echo '<img src="' . $entry->logo->url . '"/>';
  12. That depends on the store, if the monthly income is in the order of $20,000, the fee for using Snipcart is $400.. but in more quantities, it will go crazy. In one of the stores that I manage (Check the picture), so far this month (and there are 8 more days) the Snipcart charges would go up to $16,658, but Shopify only charges me $266 for the whole month. It would be very interesting to have a similar module for Shopify, or better for a headless ecommerce patform like https://saleor.io/ PS: Source https://github.com/mirumee/saleor Store example https://pwa.saleor.io/ Admin https://pwa.saleor.io/dashboard/ Login credentials: admin@example.com / admin
  13. Are you going to spread that love in all your modules? ?
  14. This is the way ... now Shopify .. then Processwire + Padloper 2 (when released)
  15. Uf! I don't know, but you can implement a module for this https://cloud.google.com/bigquery and then share it here! ?
  16. For the storage of data that does not change anymore after saving it, (I mean it's not necessary to edit and save constantly) I use the module Fieldtype YAML. It's very easy to read the data and to save it too. You can save simple objects or an entire structure in the field, however you want to do, only using an associated array. For saving part check this post:
  17. Can you use a REST endpoint for the 3rd party app? ..is easy to deliver the information in JSON format from any form entry
  18. I tested the following and works, but I never used it in production: If you render your form in the template using the Custom Embed method (Option C), you can pass the page information as an array to the same form using the render method (https://processwire.com/api/ref/form-builder/render/) to pre-populated the values (field names and array names must match). When the form is submitted, you update the page related. For this, you need to implement a mechanism to know when the form is in ADD mode or EDIT mode, maybe using urlSegments, or a hidden field in the form, or different template for each action.
  19. Maybe this PW theme can be adapted to restaurants: https://seavuel.com/ ..or you can follow this recommendations: OpenTable could be a good easy solution, you can use the API or Widget: https://support.opentable.com/s/article/How-do-I-install-the-reservation-widget-to-take-reservations-on-my-website-and-Facebook?language=en_US ... check one implementation example here: https://www.babbonyc.com/
  20. Well... Homework => https://github.com/search?l=PHP&q=websocket&type=Repositories
  21. How the current connected users at that page knows about new (or ended) user connections? I think you need a solution with Websockets, check https://socket.io/ Update: for php check: http://socketo.me/
  22. Miami, Florida ?
  23. I really have a Shopify class implemented, but basically you can do this as simple as: // https://shopify.dev/tutorials/authenticate-a-private-app-with-shopify-admin $key = "yourkeyhere"; $pass = "yourpasswordhere"; $store = "yourstorename"; $data = array( "since_id" => "632910392", // Retrieve all products CREATED after the specified product (by ID) "fields" => "id,images,title", // include only this attributes in the response ); // Is better to use try/catch here $http = new WireHttp(); $response = $http->getJSON("https://{$key}:{$pass}@{$store}.myshopify.com/admin/api/2020-01/products.json", true, $data); // True to get an array, False for object $products = $response["products"]; if (count($products) > 0) { foreach ($products as $product) { echo $product["title"]; // direct output or save to a custom array to use in views, etc. } } // use the id field for the Buy Button js code in order to have the cart/checkout in your site
  24. Yes, of course ... check the documentation page, you can get all or just one product, create a new one, modify it or delete it etc. PRODUCT: https://shopify.dev/docs/admin-api/rest/reference/products/product You can do this simply using WireHttp, I think if you want to add much more information to the product than Shopify allows or to relate it directly to other PW pages, then it makes sense to have a copy in PW and keep the synchronization between them, but if you only want to display products in a section of your website like a regular store only for selling, then you can simply query the API from your template file and process/display the answer on your website. When you check the DOC page you will see very clear examples of how to use the queries, you will see that you can use filters, and the answer is JSON that you can easily manipulate in PW. For the synchronization issue you can export the list of products to a CSV file and import it in PW, in my tests I used Ryan's module and it worked perfectly. Shopify also has Webhooks that allow you to update PW from Shopify according to events in the store such as new product, modifying or deleting it, new order etc. WEBHOOK: https://shopify.dev/docs/admin-api/rest/reference/events/webhook In other words, there are many ways to interact with Shopify and they are all very simple, well.. it seems to me, that I'm a graphic designer and not a professional programmer.
×
×
  • Create New...