In my WooCommerce website, users can enter comments - such as a gift message. I then integrate with a 3rd party warehouse software called MintSoft. My warehouse have told me the only way they can include gift messages is if I attach the message as a printable PDF/DOCX file to the order. I assume if I attach a file to the order in WooCommerce, that will feed down to MintSoft.
So my question is, how can - upon order execution - I generate a PDF/DOCX file based on a 6x4 inch template, populating it with the user comments field from the WooCommerce order, then attach that generated file to the order in WooCommerce?
I have searched for a plugin that does this, but no luck.
Related
I would like to retrieve an array of the shop availabilities to compare with the current day/times and be able to inform in the front-end if the store is currently open or closed.
My problem is that I can't find the name of the method that allows me to get this information.
Image of what I'd like to retrieve
I want to sell generated PDF on my WordPress/woo commerce site:
Each product has to be a generated PDF containing unique QR code.
Typically, the user will buy this product on the website and will receive by email later this generated PDF (this pdf is not the invoice!) containing this unique QRCode.
How can I create virtual products that are automatically generated and unique?
(to later send by email).
[edit]
I am really asking which PHP files should I modify to be able to do so?
cheers
Im using ACF to associate a custom file field to WooCommerce on my site. That field will receive the customers invoice PDF once the order is completed. My problem is the files have a sequence numbering, which is helpful to keep so I can quickly identify them in the admin interface, but I don't want my customers to able to guess the numbering and easily open other invoices.
Is there any way to add a small obfuscation so that the URLs don't show any sequence any obvious sequence pattern?
Does anyone with DotNetNuke have experience with downloadable content with a shopping cart?
There is a client using CatalooK as their shopping cart. They sell user manuals for a range of car models (one car has multiple user manuals in different languages) but did some test and this is we found so far:
If we have all the downloadable manuals users in the ‘All Users’ role will have access to all the downloadable content by anyone
When a user registers (either from the Login page, or through purchasing a product from the cart), a user account is automatically created for them and are assigned the role as ‘Registered Users’. This solves the problem of having all users access to the content – can just change the permission for the downloadable items to only display for 'Registered User' only
However, anyone can register themselves on the website and automatically be assigned a ‘Registered Users’ role, therefore getting access to the manuals without having paid for them
A step further would be to require the manual adding of user accounts to a new role called ‘Downloads’ which would be the only users within the 'Downloads’ role to have access to the downloadable manuals
Problem here is, if a user purchases 1 downloadable item and they are added to the ‘Downloads’ role, they will also be given access to all of the other downloadable manuals – as they are in the same role
So I guess the workable solution would be to create a new role for every car model to allow people in each car model role access to the downloads – which would also mean manually adding the role of every group purchased to that user’s accounts.
Anyone have any experience or alternatives to this to make it more automated and secure?
Basically no body has access to the downloads unless you have purchased the products.
Upon purchasing some shopping carts send you an email with a unique link to the downloadable so they can access it that way. In your situation you also want them to be able to see the documents on the site at anytime after purchasing them, which makes sense.
Catalook has a 'Your Orders' module, does that show you the document or electronic item you purchased? That might be an option.
But worst case, I guess you can implement your 1 role per product. Sounds like a lot of work though! Or, do some custom :]coding.
Based on your situation the cart I use the most DNNspot (mine) - it would be similar to Catalook. Where you would need to create a role per product. Or use the orders module to show your previous orders which would link to your document you bought.
How good is your SQL? You could use the core DNN 'reports module' If you analyze the database and orders table - with a little bit of SQL you could setup a custom Report and maybe solve this.
This is very interesting an challenging. probably, this is not supported by catalook store module by default. If you are looking to implement a new simple module, there are some simple solutions to this.
Using personalization: you can use dnn's personalization provider to store user products. initially empty, and as user purchases the products, you can add comma separated list of productid to maintain it smartly. check that values back to validate downloads
Using custom user profile property and use it in same way as [1] above
Email option suggested by #Ryan is good option when you want to allow users to download manually only via email links. But again, you will still need to validate if a user is allowed to download that product or not that you can achieve via the above suggestions.
Let me know if you need more help with this, I have good experience to deal with catalook specific small modules for such extensions.
Happy coding
So, I'm working on a Drupal 6 project that ultimately replaces a big, complex Excel spreadsheet with a workflow as such:
Customer books an appointment via the Bookings API
Employee goes to customer and does a bunch of measurements
Employee enters measurements into either an uploaded Excel spreadsheet or a web-based form
Website generates a PDF with measurement sheet and the output from the Invoice module
Customer receives an email with link to watermarked version of PDF.
Customer pays online and receives link to unwatermarked PDF.
My questions are:
What is the best way to go about Part 3 (Such that the data can be used by Parts 4-6)? CCK fields and a custom content type?
What is the best way to combine content types (I.e., "Measurements" custom content type with "Invoice" content type) into a single PDF?
Bonus Marks: Any way to auto-populate Invoice module content types?
Any help will be muchly appreciated!
You are actyally trying to sell a product with customisable input (comparable to a t-shirt with a custom print, but instead of using a custom picture, you use custom data).
Here is what I did for a comparable project:
Use ubercart: http://www.ubercart.org/
Use the UC Node Checkout extension, this allows you to link a node to an ubercart product and use the information in the node for your customised product: http://drupal.org/project/uc_node_checkout
Here's an excellent walkthrough for UC Node Checkout: http://drupaleasy.com/blogs/ultimike/2009/03/event-registration-ubercart
You can use FileField for uploading the Excel file: http://drupal.org/project/filefield
Make sure you use the Transliteration module: http://drupal.org/project/transliteration
The PECL upload progress is also nice to have
You will also need a csv reader, but haven't tried this yet
Finally, to give a link to the file, you can use the Ubercart selling files mechanism: http://www.ubercart.org/docs/user/3345/selling_files
Bonus:
You can use the Automatic node tite module to autoname a node: http://drupal.org/project/auto_nodetitle
For other fields, you can use the token mechanism: http://drupal.org/project/token
I ended up using:
a. Storm for CRM functionality
b. Simple Payments for Storm Invoice payment
c. Print module for PDF output
d. Calendar (+ Views) for appointment booking (Used internally; stage 1 changed to "employee sets up appointment" in Storm Project)
e. CCK + Flexifield for the measurement sheet content type
f. Custom-written module to pass cost values to Storm and automate tasks between Storm/CCK measurement sheet.
Ubercart really is overkill for simple payment applications. Alas, Simple Payments is pretty poorly supported. If only there was a unified payment API or something...