Upload files to orders backend in woocomerce - php

I have been searching for a solution to allow me to upload files via the order page backend
we do artwork for most of our orders and would like to be able to manually add the file into the already processing orders backend, this is mainly for our purposes when printing jobsheets etc, but if the customer has an account be handy for them to access it to (but not to important)
i have searched for plugins but all seem to be for frontend rather than backend.
only way i think could be done is via custom field which i have tried but failed
im new to this site so i hope this question is allowed sorry if it is not
Tried implementing via custom field backend but did not work

Related

WS Form file upload in Woocommerce order email

Im using WS Forms (pro) for a client, we have a form linked to all products in the woocommerce store. The form have the possibility to upload files, this works great but i want to show the attached file in the Woocommerce order email, or at least a link to the uploaded file(s). By default it only shows the filename and size info like: Attached file: "FJNE83_7.jpg (74.34 KB)"
Is it possible? Does anyone have an idea how to achieve this? Can i add something to the order e-mail template, or some intelligent code in functions? Ive searched around but could not find a solution.

Joomla PHP code

I'm new in using Joomla and i need your help please.
I'm newly working in a company. The company bought a web shop from other company and the web shop is live now.
One button in one of the pages is responsible to place an order and the action for this button is to send an email with all the data about the orders to my company.
Now my task is to develop an API which does the following:
when clicking on that button the information should be handles in certain way and sent to other system which our company have and this system is used by my company to handle the different orders.
My problem is that i can't find the php page that contains the code which is creating these orders email in order to change it.
Is there is any tool or plugin which might help or do you have any idea how to handle this situation?
Hint: I'm not able to get any support from the company who programmed the web shop
It is very hard to tell you what to do when we don't even know which Joomla e-commerce extension you are using. Nevertheless, there are things that you can do to find out which file is doing the actual processing of the order.
However, before even doing that, you will need to define what "order processing" means. Is it when the order is saved to the database? Is it when the order is approved by the payment gateway?
In the first case, you will need to look up for code saving the data to the database (which is likely in the models folder of the extension - it might also be in the controllers), in the latter case, you will need to look up for the code processing the payment (which is likely in the controllers folder or the helpers folder).
Note that some "advanced" e-commerce extensions trigger events when an order is processed that you can use in a plugin in order to do what you want.

Getting certain information from magento's mage.php file

I wonder if any of you could help?!
I've recently started a new project which requires an e-commerce system, with that being said I have installed magento and have started to play around with it.... however I am struggling to find any sort of information on using the mage.php file.
What I need really is help on the list below...
I've been looking for the code to display a product from magento on a page that is not situated within magento's platform. Can anyway point me to the code needed for this please
I'd like to incorporate the checkout/login or logout/my account links on every page even when not viewing a page located in magentos system.
I suppose basically I want to use magento to handle the product side of things but want to create my website without having to touch magento except from to call in certain functions.
Any help on this would be appreciated!
You can build the website using an easier content management system such as Wordpress and only use Magento for the Shop section of the website.
There is a plugin for Wordpress that allows you to display products from a Magent website.
https://wordpress.org/plugins/magento/

Wordpress plugin for Google Maps that will dynamically receive addresses required

After much trawling and emailing of sales people, I have been unsuccessful in finding a Wordpress plugin for Google Maps that will work with a database.
All the plugins I have seen so far use a control panel for manually adding the addresses. I have over 1000 addresses which are searched for by users with maximum results of 250.
I would like those results to appear on a map (it doesn't have to be a Google map).
The current search engine within my Wordpress site is a custom written PHP file with a request from the functions.php file based on the page url, i.e. the shopping page brings up a shopping search box.
The database is MySQL.
Does anyone know of a plugin that will work with a database for dynamic results based on user input?
I've tried using Googles' API directly but I only write basic PHP and found it completely confusing with help files that only give circular links so I'd rather pay for a good plugin with support if it's available.
Thanks.

Is it possible for a Joomla Form plugin to create a table and save form data to that table?

I am working on creating a Joomla based web service that is easy to use. The end goal is to allow customers the ability to manage the site from the front-end with no back-end (administrator) access. To accomplish this task I am using K2 that has existing front-end editing. Then behind the scenes we will provide technical support. Essentially, non-techy customers can easily manage their site, with us managing the tech side of things.
I need to provide a few forms (Contact, Event registration/payment and Donation payment). These forms also require that certain aspects of the forms can be updated via the front-end leveraging K2. (eg. The email address to send form submissions to.) With most forms components this can be done easily from the admin panel, however this is too complicated for non-techy customers and means we would have to provide admin access instead of just front-end. Not a good solution.
I have created a K2 contact Form plugin that will allow a customer to update where the email is sent on submission, when logged into the front-end with correct permissions. So far so good. I chose a plugin to accomplish this so we could leverage the existing front-end editing.
The issue I ran into is how to make my plugin create a table, preferably on install, as well as save form data to that table on successful submission. I'm not sure that this is possible using a plugin and have not found any documentation or sources mentioning how to accomplish this task.
I was hoping someone may be able to confirm either way if this is possible? Any suggestions, comments, etc would be greatly appreciated.
While installing plugin you can create DB tables, Its not a big deal create the SQL file with proper table query and set that inside your XML file.
Also you can create a forms(with many fields) inside your plugin file, But the problem is you should have any components controller and model related to this form submission task. Bcoz form submission you cannot handle inside plugin file, it should required a controller and model files.
So basically your plugin have related components then you can achieve it with form action like below.
<form action="index.php?option=com_yourcomponent&task=your_controller.your_function">
For creating DB table while installing plugin check this link
Hope its helps..

Categories