From woocommerce order to customized pdf - excel

I built a website using Wordpress and WooCommerce. Once i have created an order,
i need to have a final page(that i will then convert into pdf) to sum up the order in details. For instance, i need a sheet with the name of the company, some information about the guest and a detailed description of the products with pictures. Of course some information will be static and Others will come from the order.
1) I do not need an invoice (there are several plug-ins for that), i would need a final page showing the information with a layout i choose. Is there any drag and drop tool that helps me costumize a page with static(logo, client info) and dynamic(orders) information?
2) At this point, i can export my order details into Excel file. Is there any way to automatically generate a pdf with custom layout from an Excel file?

Related

Search Display Template in Tabular Form with specified columns

What is the starting point to create a search display template in a table format and be able to specify which columns you want to display. Presently, the default format only shows the title, description, and link in a 3 row list. I would like to change this to have title, description, link in 3 columns (table format) and be able to add or remove more columns.
What I have managed till now is create a search page for Tasks, that only searches for files of that specific content type. Now I want to be able to decide which columns are shown in the resulting view and if possible show them in a tabular format.
I was thinking about finding a similar template and try edit the HTML to make it look as I want it. Is there a similar template? Or perhaps a ready template which I missed?
Thanks!
There was indeed a similar template, very similar to what I needed:
Displaying SharePoint 2013 Search Results in a Table
The table template html files are also provided for under an MIT License.

pdf invoice in node.js

I want to create a pdf invoice which has a dynamic table i.e. items in that particular table can be 1 or 100.
Now my problem if the content of table is large so that it can not fit into a single page then i need to add new page automatically.
Right now i am using pdfkit which provide me addPage() function to add the page but it has some design constraints and some times it is very difficult to convert a particular design into pdf.
I am thinking about phantomjs but i am not sure about how it adds a new page dynamically
can someone has better soultion for this

Search webpart in sharepoint 2010

I have created a document library with about 20 columns for storing meta data. The client wants to have search on this metadata with a facility to filter the data based on two values. For example we have two date columns(efective date and termination date) and the results that they wanted to see is files which are having the values between effective date and termination date.
Is there any out of the box solution that i can use for this or should i build a custom webpart. If so, can someone please guide me through....
Create your document library, then in "document library settings" click "Metadata Navigation Settings".
This should give you what you want. You can specify which columns to filter data on. You can stack the filters and by default they appear on the left of the page for users to interact with.

Custom viewing of files from Documents and Media portlet

I have a requirement where in a drop-down with years (2008,2009,2010,2011,2012) as its values is to be displayed.
On select of a particular value all annual report (i.e all pdf files falling in that year) for that particular year are to be displayed.
I have found Documents & Media useful to store such files. I have created Document Type for annual report having following meta data:
NAME: Text field-name of the file uploaded
FILE UPLOAD: file uploaded
YEAR: Integer-this year are linked to the drop down values
I am trying a way to filter (displaying all years in drop down) be added on viewer.
When you select a year, the file document stored is displayed. Please help as how to go on further.
We have Documents & Media Display but it shows all the files
Or if Web-content Display can be useful?
Or if how Documents & Media Display can be modified to generate a drop-down of all values displaying links to the pdf?
Please help.
So here is your requirement in short:
Show a drop-down with certain values
On select of any of the values, a list should appear which displays the list of files.
So here are my suggestions according to the points above:
Create your own custom portlet to show the drop-down. Don't go with customizing the liferay's portlet since later on you might get some more requirement to refine the logic or change the UI and you may also be required that Liferay's Document library portlet works as is. But if you want that uploading the files and a drop-down should be given in the same portlet then you have just one option to go with the Documents and Media display portlet.
Write your custom logic to display the list of files using Liferay Document & Media API in conjunction with Dynamic Query API.
The challenge would be to make the logic of fetching files according to the Meta-types for your Document Type, since I don't think liferay does not provide any way to fetch data according to the Meta-data types in a Document Type.
Please comment if you need something more or have not understood anything.

fetch data from ms-access to ms-word

i am looking to create an invoice in either MS-excel or MS-word. This invoice will contain several fields like invoice no., customer name, product info, quantity, Amount, Date, Address of customer, phone no. etc. The function of the invoice will be, to generate a unique invoice number, every time i open it, and then the vendor will mention the customer's info, product's info and click on submit button or save it. The info mentioned in the invoice will automatically be saved in the MS-Access database whenever submit button is clicked or the document is saved.
Thus, All the records of the customer will be saved in the MS-Access database. whenever i need to search for a particular customer, i should be able to search it from either invoice no. or any unique field for that particular invoice. I hope my query is explained clearly. please let me know the easiest way to do it. I do not have the vast knowledge about this subject, so give me suggestions that are understandable by a Novice.
I think you are starting from the wrong end. Use an Access form to get the data and then run a mailmerge, the easiest way is to output a text file from Access as the data file and use a Word template for the merge.
An autonumber may suit for invoice number as long as all you need is a unique number. If you need documented sequential numbers, you will have to create then yourself. How you do it will depend on the number of users working at the same time.
I can tell you now, generating Word files with Access is a bit of a pain in the ass. If you really want to do formatting it gets hard (is my experience).
I ended up generating HTML files in which I could control everything, and opening them as .docs. But if you are really new to this, I suggest you start with some VBA tutorials, where they explain to you how you get records from you database and loop through them to generate output. And then you can start looking at file writing functions in VBA.
Can't find any tutorials real quick (my girlfriend is getting angry as we speak), but here is a sample:
http://www.access-programmers.co.uk/forums/showthread.php?t=25354
Just look around in fora, look for file generation and looping through records.
Hi just reading your post, like Remou l would strongly suggest you use Access to enter and store the data. It is possible to get a user to enter data into a spreadsheet and write the data back to Access DB. Not something l would recommend for the novice, here is a link to some code on how it could be done
Returning to your first question, of creating the invoice have you considered generating the invoices from Access using a report? They can be printed to PDF, or exported to various electronic formats. Or is there specific reason to use Word/Excel? If are going down the route of using Word to generate the invoice then use a template as Remou suggested. See this link for some samples see the section titled Access > Word. I have used the examples as a basis for Access to Word. A number of the examples though use a tecnology called DAO, which l understand will not be included in any operating system after Windows 7. Just something to be aware of.
Searching for a record in a database table this link has one possible solution . Also the author has included a example database.

Resources