diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..d3308a1f0e04faa16554679fe94758d2e426a77d --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +BASE=downloads_for_sale +PLUGINTYPE=vmcustom +VERSION=0.9 + +PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html + +TRANSLATIONS=$(call wildcard,*.plg_$(PLUGINTYPE)_$(BASE).*ini) +INDEXFILES=$(BASE)/index.html +TMPLFILES=$(call wildcard,$(BASE)/tmpl/*.php) $(BASE)/index.html $(BASE)/tmpl/index.html +ASSETS=$(call wildcard,assets/*.png) $(call wildcard,assets/*.css) assets/index.html +ZIPFILE=plg_$(PLUGINTYPE)_$(BASE)_v$(VERSION).zip + + +zip: $(PLUGINFILES) $(TRANSLATIONS) $(ELEMENTS) $(TMPLFILES) + @echo "Packing all files into distribution file $(ZIPFILE):" + @zip -r $(ZIPFILE) $(PLUGINFILES) $(TRANSLATIONS) $(ELEMENTS) $(INDEXFILES) $(TMPLFILES) $(ASSETS) + +clean: + rm -f $(ZIPFILE) diff --git a/downloads_for_sale/download_medium.png b/assets/download_medium.png similarity index 100% rename from downloads_for_sale/download_medium.png rename to assets/download_medium.png diff --git a/downloads_for_sale/download_small.png b/assets/download_small.png similarity index 100% rename from downloads_for_sale/download_small.png rename to assets/download_small.png diff --git a/assets/downloads_for_sale.css b/assets/downloads_for_sale.css new file mode 100644 index 0000000000000000000000000000000000000000..9420fb266d17146cacfcbf5bce911c3d624bccd8 --- /dev/null +++ b/assets/downloads_for_sale.css @@ -0,0 +1,14 @@ +div.downloads-for-sale tr, div.downloads-for-sale td { + border: none; +} + +.file_title { + font-weight: bold; +} +.file_info { + font-size: smaller; +} + +.vm-customfield-mod .downloads-for-sale img, .vm-customfield-cart .downloads-for-sale img { + width: inherit; +} \ No newline at end of file diff --git a/assets/index.html b/assets/index.html new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/downloads_for_sale.php b/downloads_for_sale.php index ddbdbec597529b240c0626e391a96ed93e2f2f0a..c5c139a6a92c148ae0b2e0c25b3e19ab282c5e1d 100644 --- a/downloads_for_sale.php +++ b/downloads_for_sale.php @@ -170,7 +170,7 @@ class plgVmCustomDownloads_for_Sale extends vmCustomPlugin { return true; } - $link_types = array('none' => 'VMCUSTOM_DLSALE_LINK_NONE', 'text'=>'VMCUSTOM_DLSALE_LINK_TEXT', 'image'=>'VMCUSTOM_DLSALE_LINK_IMAGE'); + $link_types = array('none' => 'VMCUSTOM_DLSALE_LINK_NONE', 'compact'=>'VMCUSTOM_DLSALE_LINK_COMPACT', 'long'=>'VMCUSTOM_DLSALE_LINK_LONG'); $html .= VmHTML::row('select', 'VMCUSTOM_DLSALE_DOWNLOAD_FILE', 'custom_param['.$row.'][media_id]', $download_files, $field->media_id,'','virtuemart_media_id', 'file_title', false); if ($field->is_cart_attribute) { diff --git a/downloads_for_sale.script.php b/downloads_for_sale.script.php new file mode 100644 index 0000000000000000000000000000000000000000..2c32859934f4c25a17bdda23f1353c99d3490488 --- /dev/null +++ b/downloads_for_sale.script.php @@ -0,0 +1,79 @@ +<?php +defined('_JEXEC') or die('Restricted access'); + +class plgVmCustomDownloads_for_SaleInstallerScript +{ + /** + * Constructor + * + * @param JAdapterInstance $adapter The object responsible for running this script + */ +// public function __constructor(JAdapterInstance $adapter); + + /** + * Called before any type of action + * + * @param string $route Which action is happening (install|uninstall|discover_install) + * @param JAdapterInstance $adapter The object responsible for running this script + * + * @return boolean True on success + */ +// public function preflight($route, JAdapterInstance $adapter); + + /** + * Called after any type of action + * + * @param string $route Which action is happening (install|uninstall|discover_install) + * @param JAdapterInstance $adapter The object responsible for running this script + * + * @return boolean True on success + */ +// public function postflight($route, JAdapterInstance $adapter); + + /** + * Called on installation + * + * @param JAdapterInstance $adapter The object responsible for running this script + * + * @return boolean True on success + */ + public function install(JAdapterInstance $adapter) + { + // enabling plugin + $db =& JFactory::getDBO(); + $db->setQuery('update #__extensions set enabled = 1 where type = "plugin" and element = "downloads_for_sale" and folder = "vmcustom"'); + $db->query(); + + return True; + } + + /** + * Called on update + * + * @param JAdapterInstance $adapter The object responsible for running this script + * + * @return boolean True on success + */ +// public function update(JAdapterInstance $adapter) +// { +// jimport( 'joomla.filesystem.file' ); +// $file = JPATH_ROOT . DS . "administrator" . DS . "language" . DS . "en-GB" . DS . "en-GB.plg_vmshopper_ordernumber.sys.ini"; +// if (JFile::exists($file)) JFile::delete($file); +// $file = JPATH_ROOT . DS . "administrator" . DS . "language" . DS . "de-DE" . DS . "de-DE.plg_vmshopper_ordernumber.sys.ini"; +// if (JFile::exists($file)) JFile::delete($file); +// return true; +// } + + /** + * Called on uninstallation + * + * @param JAdapterInstance $adapter The object responsible for running this script + */ + public function uninstall(JAdapterInstance $adapter) + { + // Remove plugin table +// $db =& JFactory::getDBO(); +// $db->setQuery('DROP TABLE `#__virtuemart_shipment_plg_rules_shipping`;'); +// $db->query(); + } +} \ No newline at end of file diff --git a/downloads_for_sale.xml b/downloads_for_sale.xml index a96c2d1ca25d795361bbb842660b14f4f6dceed6..72509624af4643a1bfa4ba5d441e20501586fb54 100644 --- a/downloads_for_sale.xml +++ b/downloads_for_sale.xml @@ -8,23 +8,26 @@ <license>http://www.gnu.org/licenses/gpl.html GNU/GPL v3+</license> <version>0.0.1</version> <description>VMCUSTOM_DLSALE_DESC</description> - <languages> - <language tag="en-GB">en-GB.plg_vmcustom_downloads_for_sale.ini</language> - </languages> <files> <filename plugin="downloads_for_sale">downloads_for_sale.php</filename> + <filename>downloads_for_sale.script.php</filename> + <folder>downloads_for_sale</folder> + <filename>index.html</filename> </files> + <languages> + <language tag="en-GB">en-GB.plg_vmcustom_downloads_for_sale.ini</language> + </languages> + <scriptfile>downloads_for_sale.script.php</scriptfile> <params addpath="/administrator/components/com_virtuemart/elements"> - <param type="spacer" default="VMCUSTOM_DLSALE_USAGE" /> <param name="invoice_link_type" type="list" default="link" label="VMCUSTOM_DLSALE_INVOICE_LINK" description="VMCUSTOM_DLSALE_INVOICE_LINK_DESC" > <option value="none">VMCUSTOM_DLSALE_LINK_NONE</option> - <option value="text">VMCUSTOM_DLSALE_LINK_TEXT</option> - <option value="image">VMCUSTOM_DLSALE_LINK_IMAGE</option> + <option value="compact">VMCUSTOM_DLSALE_LINK_COMPACT</option> + <option value="long">VMCUSTOM_DLSALE_LINK_LONG</option> </param> <param name="product_link_type" type="list" default="image" label="VMCUSTOM_DLSALE_PRODUCT_LINK" description="VMCUSTOM_DLSALE_PRODUCT_LINK_DESC" > <option value="none">VMCUSTOM_DLSALE_LINK_NONE</option> - <option value="text">VMCUSTOM_DLSALE_LINK_TEXT</option> - <option value="image">VMCUSTOM_DLSALE_LINK_IMAGE</option> + <option value="compact">VMCUSTOM_DLSALE_LINK_COMPACT</option> + <option value="long">VMCUSTOM_DLSALE_LINK_LONG</option> </param> <param name="download_type" type="list" default="yes" label="VMCUSTOM_DLSALE_TYPE" description="VMCUSTOM_DLSALE_TYPE_DESC"> <option value="free_download">VMCUSTOM_DLSALE_TYPE_FREE</option> diff --git a/downloads_for_sale/tmpl/index.html b/downloads_for_sale/tmpl/index.html new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/downloads_for_sale/tmpl/product_image.php b/downloads_for_sale/tmpl/order_compact.php similarity index 67% rename from downloads_for_sale/tmpl/product_image.php rename to downloads_for_sale/tmpl/order_compact.php index 1de1c165af10f526ddb757993a7c82370baa26df..e6afec63707f041ad5fa1881db0efe804c83242e 100644 --- a/downloads_for_sale/tmpl/product_image.php +++ b/downloads_for_sale/tmpl/order_compact.php @@ -1,6 +1,5 @@ <?php /** - * * @author Reinhold Kainhofer * @package VirtueMart * @subpackage custom @@ -10,7 +9,6 @@ **/ defined('_JEXEC') or die(); + ?> -<div class="download-for-sale-image"> -<a href="<?php echo $viewData[0]; ?>"><img style="vertical-align:middle; display: inline;" src="<?php echo JURI::root().'plugins/vmcustom/downloads_for_sale/downloads_for_sale/download_medium.png'; ?>" alt="<?php echo $viewData[2]->file_title; ?>"></a></div> -<br clear="all"/> +<a href="<?php echo $viewData[0]; ?>"><img style="vertical-align:middle; display: inline;" src="<?php echo JURI::root().'plugins/vmcustom/downloads_for_sale/assets/download_small.png'; ?>" alt=""/> <?php echo $viewData[2]->file_title; ?></a> \ No newline at end of file diff --git a/downloads_for_sale/tmpl/order_image.php b/downloads_for_sale/tmpl/order_image.php deleted file mode 100644 index caa3e6eeebe69286191d38496cf618384b85879e..0000000000000000000000000000000000000000 --- a/downloads_for_sale/tmpl/order_image.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php -/** - * - * @author Reinhold Kainhofer - * @package VirtueMart - * @subpackage custom - * @copyright Copyright (C) 2013 RK - All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php - * - **/ - -defined('_JEXEC') or die(); -?><a href="<?php echo $viewData[0]; ?>"><img height="16" src="<?php echo JURI::root().'plugins/vmcustom/downloads_for_sale/downloads_for_sale/download_medium.png'; ?>" alt="Download"> <?php echo $viewData[2]->file_title; ?></a> diff --git a/downloads_for_sale/tmpl/order_long.php b/downloads_for_sale/tmpl/order_long.php new file mode 100644 index 0000000000000000000000000000000000000000..e1899946dbd2932f0ff9fffd4e2503c13c619c07 --- /dev/null +++ b/downloads_for_sale/tmpl/order_long.php @@ -0,0 +1,31 @@ +<?php +/** + * + * @author Reinhold Kainhofer + * @package VirtueMart + * @subpackage custom + * @copyright Copyright (C) 2013 RK - All rights reserved. + * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php + * + **/ + +defined('_JEXEC') or die(); +if(JFile::exists(JPATH_SITE.DS.'plugins'.DS.'vmcustom'.DS.'downloads_for_sale'.DS.'assets'.DS.'downloads_for_sale.css')) { + $doc =& JFactory::getDocument(); + $doc->addStyleSheet(JURI::root().'plugins/vmcustom/downloads_for_sale/assets/downloads_for_sale.css'); +} +?> +<div class="downloads-for-sale"> + +<table border=0> +<tr> + <td width="15%"> + <a href="<?php echo $viewData[0]; ?>"><img style="vertical-align:middle; display: inline; float:left;" src="<?php echo JURI::root().'plugins/vmcustom/downloads_for_sale/assets/download_medium.png'; ?>" alt="<?php echo $viewData[2]->file_title; ?>"></a> + </td> + <td width="85%"><a href="<?php echo $viewData[0]; ?>"><span class="file_title"><?php echo $viewData[2]->file_title; ?></span></a><br/> + <span class="file_info">(<?php echo basename($viewData[2]->file_url); ?>)<br/> + <?php echo JText::_('VMCUSTOM_DLSALE_FILESIZE')?>: <?php echo filesize($viewData[2]->file_url); ?> <?php echo JText::_('VMCUSTOM_DLSALE_FILESIZE_BYTES')?></span> + </td> +</tr> +</table> +</div> \ No newline at end of file diff --git a/downloads_for_sale/tmpl/order_text.php b/downloads_for_sale/tmpl/order_text.php deleted file mode 100644 index 3259a38990b5c79e23e08318c9a8aaf09ef615ed..0000000000000000000000000000000000000000 --- a/downloads_for_sale/tmpl/order_text.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php -/** - * @author Reinhold Kainhofer - * @package VirtueMart - * @subpackage custom - * @copyright Copyright (C) 2013 RK - All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php - * - **/ - -defined('_JEXEC') or die(); - -?>Download: <a href="<?php echo $viewData[0]; ?>"><?php echo $viewData[2]->file_title; ?></a> diff --git a/downloads_for_sale/tmpl/product_text.php b/downloads_for_sale/tmpl/product_compact.php similarity index 62% rename from downloads_for_sale/tmpl/product_text.php rename to downloads_for_sale/tmpl/product_compact.php index 0f2ec55bf6e27367e0cf801c24250e9837263b19..cdde0f53fd93f0177fbe3963f5d5f5b942c9ba14 100644 --- a/downloads_for_sale/tmpl/product_text.php +++ b/downloads_for_sale/tmpl/product_compact.php @@ -11,4 +11,4 @@ defined('_JEXEC') or die(); ?> -<p><img style="vertical-align:middle; display: inline;" src="<?php echo JURI::root().'plugins/vmcustom/downloads_for_sale/downloads_for_sale/download_small.png'; ?>" alt=""/> <a href="<?php echo $viewData[0]; ?>"><?php echo $viewData[2]->file_title; ?></a></p> +<p><img style="vertical-align:middle; display: inline;" src="<?php echo JURI::root().'plugins/vmcustom/downloads_for_sale/assets/download_small.png'; ?>" alt=""/> <a href="<?php echo $viewData[0]; ?>"><?php echo $viewData[2]->file_title; ?></a></p> diff --git a/downloads_for_sale/tmpl/product_long.php b/downloads_for_sale/tmpl/product_long.php new file mode 100644 index 0000000000000000000000000000000000000000..e7dcf37d77412dc2c3aaf4175069588bb7c82ac1 --- /dev/null +++ b/downloads_for_sale/tmpl/product_long.php @@ -0,0 +1,35 @@ +<?php +/** + * + * @author Reinhold Kainhofer + * @package VirtueMart + * @subpackage custom + * @copyright Copyright (C) 2013 RK - All rights reserved. + * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php + * + **/ + +defined('_JEXEC') or die(); + +if(JFile::exists(JPATH_SITE.DS.'plugins'.DS.'vmcustom'.DS.'downloads_for_sale'.DS.'assets'.DS.'downloads_for_sale.css')) { + $doc =& JFactory::getDocument(); + $doc->addStyleSheet(JURI::root().'plugins/vmcustom/downloads_for_sale/assets/downloads_for_sale.css'); +} +?> +<div class="downloads-for-sale"> + +<table border=0> +<tr> + <td> + <a href="<?php echo $viewData[0]; ?>"><img style="vertical-align:middle; display: inline; float:left;" src="<?php echo JURI::root().'plugins/vmcustom/downloads_for_sale/assets/download_medium.png'; ?>" alt="<?php echo $viewData[2]->file_title; ?>"></a> + </td> + <td> + <a href="<?php echo $viewData[0]; ?>"><span class="file_title"><?php echo $viewData[2]->file_title; ?></span></a><br/> + <span class="file_info"><?php echo JText::_('VMCUSTOM_DLSALE_FILENAME')?>: <?php echo basename($viewData[2]->file_url); ?><br/> + <?php echo JText::_('VMCUSTOM_DLSALE_MIMETYPE')?>: <?php echo $viewData[2]->file_mimetype; ?><br/> + <?php echo JText::_('VMCUSTOM_DLSALE_FILESIZE')?>: <?php echo filesize($viewData[2]->file_url); ?> <?php echo JText::_('VMCUSTOM_DLSALE_FILESIZE_BYTES')?></span> + </td> +</tr> +</table> +</div> +<br clear="all"/> diff --git a/en-GB.plg_vmcustom_downloads_for_sale.ini b/en-GB.plg_vmcustom_downloads_for_sale.ini index 01a7e005040da04c04a0d68f862d632d73798263..c8e1d41d37882e6a22b14f2308104679fe380aab 100644 --- a/en-GB.plg_vmcustom_downloads_for_sale.ini +++ b/en-GB.plg_vmcustom_downloads_for_sale.ini @@ -3,7 +3,7 @@ ; License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php ; Note : All ini files need to be saved as UTF-8 - No BOM -VMCUSTOM_DLSALE="Downloadable products" +VMCUSTOM_DLSALE="VM Downloads for Sale" VMCUSTOM_DLSALE_DESC="Assign a downloadable media file to the product." VMCUSTOM_DLSALE_USAGE="TODO" @@ -13,8 +13,8 @@ VMCUSTOM_DLSALE_PRODUCT_LINK="Link type on Product Page" VMCUSTOM_DLSALE_PRODUCT_LINK_DESC="Download link type displayed on the product page for permitted users." VMCUSTOM_DLSALE_LINK_NONE="No link displayed" -VMCUSTOM_DLSALE_LINK_TEXT="Text link" -VMCUSTOM_DLSALE_LINK_IMAGE="Image" +VMCUSTOM_DLSALE_LINK_COMPACT="Compact link" +VMCUSTOM_DLSALE_LINK_LONG="Full link and information" VMCUSTOM_DLSALE_TYPE="Type of download" VMCUSTOM_DLSALE_TYPE_DESC="Select the default type of download" @@ -31,3 +31,8 @@ VMCUSTOM_DLSALE_ERROR_NO_FILE_SET="Media file is not available." VMCUSTOM_DLSALE_ERROR_ORDER_NOT_FOUND="Unable to find order data in database." VMCUSTOM_DLSALE_ERROR_WRONG_PASSWD="Invalid combination of order number and password." VMCUSTOM_DLSALE_ERROR_STATUS_NOT_AUTHORIZED="Order status does not allow download." + +VMCUSTOM_DLSALE_FILENAME="Filename" +VMCUSTOM_DLSALE_MIMETYPE="MIME-Type" +VMCUSTOM_DLSALE_FILESIZE="File size" +VMCUSTOM_DLSALE_FILESIZE_BYTES="Bytes" diff --git a/en-GB.plg_vmcustom_downloads_for_sale.sys.ini b/en-GB.plg_vmcustom_downloads_for_sale.sys.ini index a94f4dc7ce4a6e8d120a811fc09ef404337e9790..3ca39149bcae2e0d2792768b775d27d1dd3323fe 100644 --- a/en-GB.plg_vmcustom_downloads_for_sale.sys.ini +++ b/en-GB.plg_vmcustom_downloads_for_sale.sys.ini @@ -3,4 +3,4 @@ ; License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php ; Note : All ini files need to be saved as UTF-8 - No BOM -VMCUSTOM_DLSALE="VM Custom Field for downloadable products" +VMCUSTOM_DLSALE="VM Downloads for Sale" diff --git a/images/downloads_for_sale_-_customfield_new.png b/images/downloads_for_sale_-_customfield_new.png new file mode 100644 index 0000000000000000000000000000000000000000..1c833f893ae09f820f8b2a94f7f787f077474f28 Binary files /dev/null and b/images/downloads_for_sale_-_customfield_new.png differ diff --git a/images/downloads_for_sale_-_customfields.png b/images/downloads_for_sale_-_customfields.png new file mode 100644 index 0000000000000000000000000000000000000000..3dd0153648adee15f33971f44f2ba2de5e9c72cb Binary files /dev/null and b/images/downloads_for_sale_-_customfields.png differ diff --git a/images/downloads_for_sale_-_icon.png b/images/downloads_for_sale_-_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..f7ac50dd93d452679c10e90158123c54d7be78aa Binary files /dev/null and b/images/downloads_for_sale_-_icon.png differ diff --git a/images/downloads_for_sale_-_icon.xcf b/images/downloads_for_sale_-_icon.xcf new file mode 100644 index 0000000000000000000000000000000000000000..6c638b08f3b3c3b3fc61d006546095526d9ea0aa Binary files /dev/null and b/images/downloads_for_sale_-_icon.xcf differ diff --git a/images/downloads_for_sale_-_installation.png b/images/downloads_for_sale_-_installation.png new file mode 100644 index 0000000000000000000000000000000000000000..92dec21d66d09ea7c5e2b2f43042abaede9a2128 Binary files /dev/null and b/images/downloads_for_sale_-_installation.png differ diff --git a/images/downloads_for_sale_-_media_manager.png b/images/downloads_for_sale_-_media_manager.png new file mode 100644 index 0000000000000000000000000000000000000000..88c902ef58f7aa14bf2d6041f5f3d26c19418e38 Binary files /dev/null and b/images/downloads_for_sale_-_media_manager.png differ diff --git a/images/downloads_for_sale_-_media_manager_addFile.png b/images/downloads_for_sale_-_media_manager_addFile.png new file mode 100644 index 0000000000000000000000000000000000000000..7b9beb27b16f18b97362caf7ee047180bbd1862e Binary files /dev/null and b/images/downloads_for_sale_-_media_manager_addFile.png differ diff --git a/images/downloads_for_sale_-_media_manager_fileSettings.png b/images/downloads_for_sale_-_media_manager_fileSettings.png new file mode 100644 index 0000000000000000000000000000000000000000..1b2184686314db7195e9983d04fa8f314125fda3 Binary files /dev/null and b/images/downloads_for_sale_-_media_manager_fileSettings.png differ diff --git a/images/downloads_for_sale_-_product_-_Paid_bought.png b/images/downloads_for_sale_-_product_-_Paid_bought.png new file mode 100644 index 0000000000000000000000000000000000000000..9cbb0407839c242104270e7180c6192ee5477232 Binary files /dev/null and b/images/downloads_for_sale_-_product_-_Paid_bought.png differ diff --git a/images/downloads_for_sale_-_product_-_Paid_not_bought.png b/images/downloads_for_sale_-_product_-_Paid_not_bought.png new file mode 100644 index 0000000000000000000000000000000000000000..c10ceb0bc0d63093fbe846aa8118c47a5a1ba19c Binary files /dev/null and b/images/downloads_for_sale_-_product_-_Paid_not_bought.png differ diff --git a/images/downloads_for_sale_-_product_addCustom.png b/images/downloads_for_sale_-_product_addCustom.png new file mode 100644 index 0000000000000000000000000000000000000000..8ca8a859fc21e79d4540886261b237a89fb17dcd Binary files /dev/null and b/images/downloads_for_sale_-_product_addCustom.png differ diff --git a/images/downloads_for_sale_-_product_chooseDisplay.png b/images/downloads_for_sale_-_product_chooseDisplay.png new file mode 100644 index 0000000000000000000000000000000000000000..04b13dc89e4c1cefa9d503b0a3d444cd2376ec8e Binary files /dev/null and b/images/downloads_for_sale_-_product_chooseDisplay.png differ diff --git a/images/downloads_for_sale_-_product_chooseDownloadtype.png b/images/downloads_for_sale_-_product_chooseDownloadtype.png new file mode 100644 index 0000000000000000000000000000000000000000..e50945a6b0093dc885ff4c057c09430e6c55767e Binary files /dev/null and b/images/downloads_for_sale_-_product_chooseDownloadtype.png differ diff --git a/images/downloads_for_sale_-_product_chooseMedia.png b/images/downloads_for_sale_-_product_chooseMedia.png new file mode 100644 index 0000000000000000000000000000000000000000..8ad06655c189e69eb473beb81f431b8ed4be43a7 Binary files /dev/null and b/images/downloads_for_sale_-_product_chooseMedia.png differ diff --git a/images/downloads_for_sale_-_setup_01_newcustomfield.png b/images/downloads_for_sale_-_setup_01_newcustomfield.png new file mode 100644 index 0000000000000000000000000000000000000000..1881742beeb3470dc95907ce15c071aba1a64fae Binary files /dev/null and b/images/downloads_for_sale_-_setup_01_newcustomfield.png differ diff --git a/images/downloads_for_sale_invoice.png b/images/downloads_for_sale_invoice.png new file mode 100644 index 0000000000000000000000000000000000000000..4b4374638d7c5cbab1c87a931a67c28a7023b87f Binary files /dev/null and b/images/downloads_for_sale_invoice.png differ diff --git a/images/downloads_for_sale_invoice_html.png b/images/downloads_for_sale_invoice_html.png new file mode 100644 index 0000000000000000000000000000000000000000..3b20d584647ab8e89928ae8228c09608773b2f6f Binary files /dev/null and b/images/downloads_for_sale_invoice_html.png differ diff --git a/images/downloads_for_sale_product_loggedin.png b/images/downloads_for_sale_product_loggedin.png new file mode 100644 index 0000000000000000000000000000000000000000..a816dbb99559b35a8c44cfdb206e3c30649a5401 Binary files /dev/null and b/images/downloads_for_sale_product_loggedin.png differ diff --git a/images/downloads_for_sale_product_non-cart-variant.png b/images/downloads_for_sale_product_non-cart-variant.png new file mode 100644 index 0000000000000000000000000000000000000000..7b2f4761b4146d9c974278863a38e61e76659f68 Binary files /dev/null and b/images/downloads_for_sale_product_non-cart-variant.png differ