how to attach downloadable file in virtuemart 2 in joomla - php

I am using virtuemart extension version 2.0.22a in my joomla site.
I want to sell digital products using vm(virtuemart). So when payment done user will be able to download product zip file.
But it seems i can't find where & how do I attach product download files in vm 2. Earlier versions of vm had downloads tab in configuration.
It's look like i have to buy another paid plugin for this said here -
help forum topic
This should not be accepted, there should be way to attach downloadable files(zip,..) with the product at least.Even many free e-commerce sites, extensions have at least downloadable files. So why should not be here in vm.
Any one help me to attach downloadable zip file with the product in vm or if its that i need to add a paid plugin then tell me alternatives.

If you can customize the VM little bit an alternative option in my mind, I am not sure this is acceptable for you.
When someone place an order in your site an order confirmation should send as email that email should have a proper order_id and expiry token. Also a download count in your custom table.
And order confirmation page should says check your inbox.(or even you can set the link inside confirmation page).
Check the link and validate order id,expiry token and download count.
Also if the files are not large in size you can choose attach file option for email.
Hope its give some idea for your task.

Related

Upload files to orders backend in woocomerce

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

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.

How to customize Plugins and Themes for WordPress

I am currently trying to build a website for a client using WordPress for a school project. The client requires a user system with a log in and storage of user permissions and information.I downloaded a plugin called Simple Membership because it had the best reviews for user membership plugins.
The biggest problem I am experiencing at the moment is the default contact information that comes with the plugin is not the information I wish to store. I need other fields to be stored. I am a developer so I first took a look at the code using FTP and made a few changes just to the registration form to show off to the client for the first iteration.
I have now been made aware that when updating the plugin all of my changes will be overridden. I am here to ask if there is an efficient way to make changes to a plugin without creating a new plugin(does not seem practical, I need to change the function of this plugin not just add to it). At the moment that is the only solution I am aware of. Can someone point me in the right direction?
It may not be the best solution but it's practical on your case.Take a backup of your formula plugin and re install it if a new update comes in.

How to properly configure magento to include a file upload link during an order notification? integrated with joomla magebridge component

Our website is a printing type service and it has the capacity to take the order of customers with the following procedures:
They select the type of product that they want to order
Select the paper size and the quantity of the item
The customer needs to upload a file in pdf format (This is the file to which they include the design that want for their order)
The system will send an email to both the customer and the owner (The email should include the direct link on which the uploaded file should be downloaded)
The emails are successfully sent with the details of what items they want to order. A link is included on the email but what it displays is this sample code:
Item Sku Qty Subtotal
Letterhead 100gsm Matte A5 500
File Upload - File will upload after you click Buy Now
The "" should be the download link of the pdf file that the customer have uploaded on the server. I need help on this were currently using Magento 1.5.1.0 and I have been wondering were the bug is on how to include the proper link to the pdf file uploaded by the customer.
And also we have a joomla version of the site which is using a magebridge component the main purpose of the component is to connect joomla with a magento site to enable joomla to integrate some of the important functionalities of magento. So basically users would visit the joomla site and do the transactions they need to do.
Thanks
To display a link to the file that was uploaded in customer's email confirmation in magento v1.7.
Copy this template file to your local template folder /app/design/frontend/base/default/template/email/order/items/order/default.phtml
Then change this line (#37)
<?php echo (isset($option['print_value'] ) ? $option['print_value'] : nl2br($this->escapeHtml($option['value']))) ?>
to
<?php echo (isset($option['print_value'] ) && $option['option_type'] != 'file' ? $option['print_value'] : $option['value']) ?>
This may or may not work in version 1.5.1

Categories