{"id":401,"date":"2021-03-07T19:43:50","date_gmt":"2021-03-07T19:43:50","guid":{"rendered":"https:\/\/www.webgeneration.co.uk\/?page_id=401"},"modified":"2023-05-18T13:16:55","modified_gmt":"2023-05-18T12:16:55","slug":"product-samples","status":"publish","type":"page","link":"https:\/\/www.prestafusion.com\/blog\/documentation\/product-samples","title":{"rendered":"Product Samples"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p>The Product Samples module allows your customers to easily order sample versions of your products from the same product page without the need for you to create multiple versions of the same product and list them separately on your site in order to offer sample products.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installation\">Installation<\/h2>\n\n\n\n<p>The installation procedure is very much similar to most other Prestashop modules. No core changes required therefore installation is straight forward, be sure to follow the instructions below to ensure a successful installation.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Upload the module folder to your stores {root}\/modules folder<\/li>\n\n\n\n<li>Once uploaded, login to your Prestashop Back Office and head over to the <strong>Modules<\/strong> section<\/li>\n\n\n\n<li>Search for the module and click <strong>Install<\/strong><\/li>\n\n\n\n<li>After a successful installation, the module configuration screen is presented to you. More details on this in the next section.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configuration\">Configuration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configuration-setup\">Setup<\/h3>\n\n\n\n<p>The module configuration allows you to edit settings related to the module. The module configuration screen is displayed immediately after a successful installation or can be accessed later using the configure link in the modules list.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/productsamples\/configuration-installation.jpg\" alt=\"Configuring the module\"\/><\/figure>\n\n\n\n<p>The module configure is organised under two tabs, namely General and Mass Assign. The General Tab is open by default so lets take a look at that first. The general tab contains the following settings:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/productsamples\/configuration-general.jpg\" alt=\"Configuring the module - General Settings\"\/><\/figure>\n\n\n\n<p><strong>Maximum samples allowed in Cart:<\/strong><br>Enter a number higher than zero to limit the number of samples that can exist in a customers cart. Set this to zero to allow any number of samples to exist in the cart.<\/p>\n\n\n\n<p><strong>Override Product Weight?<\/strong><br>When enabled the module will take into consideration the weight of samples when calculating the total weight of the cart. We&#8217;ll take a look at how to set up weight for samples later in this document.<\/p>\n\n\n\n<p><strong>Disable stock update for samples?<\/strong><br>Enable this option to leave the stock level of a product unchanged when the sample for the product is purchased.<\/p>\n\n\n\n<p><strong>Default weight for samples<\/strong><br>Enter a weight in here to apply it to all sample products in your store. You can also configure the weight for individual product samples which we&#8217;ll discuss shortly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configuration-mass-assign\">Mass Assign Tab<\/h3>\n\n\n\n<p>The Mass Assign tab allows you to copy settings from one product to multiple products and \/ or categories across your store. To use the feature start typing in the name in the product search field and select the product you wish to copy settings from.<\/p>\n\n\n\n<p>After selecting the product you wish to copy settings from, select the category or categories you wish to copy the module settings to. If you select a single category, you can select individual products in that category. If you select multiple categories then the module settings will be copied across to all products in those selected categories.<\/p>\n\n\n\n<p>Now that we have looked at the main module configuring, next we\u2019ll look at how to set up samples for individual products in your store.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"product-configuration\">Setting up Samples of your products<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"product-configuration-creating-samples\">Creating Samples<\/h3>\n\n\n\n<p>To begin, head over to Catalog &gt; Products and edit a product you wish to offer a sample for. Under the modules tab, click to configure Product Samples.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/productsamples\/product-configure.jpg\" alt=\"Setting up samples for products\"\/><\/figure>\n\n\n\n<p> You will now be presented with some options divided into two sections; Configuration and Carrier Availability. Let&#8217;s take a look at each of these. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/productsamples\/product-configure-general.jpg\" alt=\"Setting up samples for products - General Options\"\/><\/figure>\n\n\n\n<p><strong>Sample Enabled?<\/strong><br>Enable this option to offer the product as a sample in your store. When enabled an extra button similar to the Add to Basket button will be displayed on the product page allowing the customer to Add a Sample.<\/p>\n\n\n\n<p><strong>Sample Price<\/strong><br>The price of the sample which should differ from the price of the actual product. If you would like to offer free samples you may enter 0.00 into this field.<\/p>\n\n\n\n<p><strong>Max Limit in Cart<\/strong><br>Limit the number of free samples of this product the customer is entitled to per order.<\/p>\n\n\n\n<p><strong>Custom Weight<\/strong><br>Enable this option and enter a custom weight if you provide shipping options based on order weight and the weight of samples differs from the weight of the regular product.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"product-configuration-carriers\">Carrier Availability overrides<\/h3>\n\n\n\n<p>You can limit the carriers available to the customer during checkout when the customer is ordering samples. To limit samples to specific carriers simply tick the carriers which associated with your sample. If you do not wish to change the carrier selection simply un-tick all carriers.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/productsamples\/product-configure-carriers.jpg\" alt=\"Setting up samples for products - Carrier Availability overrides\"\/><\/figure>\n\n\n\n<p>Congratulations, your product sample is now set up and available on offer to the customer.  A sample button will now be displayed on the product page in  your store.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"translating-the-module\">Translating the module<\/h2>\n\n\n\n<p>You can translate and modify all the module text into the various language(s) of your store &#8211; this includes both, the back office text and the front office text (such as the button texts and errors)<\/p>\n\n\n\n<p>To translate the module texts, head over to <code>International &gt; Translations &gt; Installed Module Translations &gt; Product Samples<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"front\">Samples in your store front<\/h2>\n\n\n\n<p>Now that you have assigned a sample to one or more of your products, a sample button will be displayed on your product page as shown below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/productsamples\/front-product.jpg\" alt=\"Product Sample button on the product page\"\/><\/figure>\n\n\n\n<p>As you can see above, a button allowing the customer to add a sample to the basket is displayed.  If you have set up a price for the sample that will also be displayed.<\/p>\n\n\n\n<p><a href=\"https:\/\/addons.prestashop.com\/en\/additional-information-product-tab\/23209-product-samples.html\" class=\"btn-cta-primary btn-full-width\">Get Product Samples on Prestashop Addons site<\/a><\/p>\n<p><a href=\"https:\/\/www.prestafusion.com\/prestashop-modules\/38-product-samples-prestashop.html\" class=\"btn-cta-primary btn-full-width\">Get Product Samples on Prestafusion<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The Product Samples module allows your customers to easily order sample versions of your products from the same product page without the need for you to create multiple versions of the same product and list them separately on your site in order to offer sample products. Installation The installation procedure is very much similar [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":408,"parent":59,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-documentation.php","meta":{"footnotes":""},"class_list":["post-401","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages\/401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/comments?post=401"}],"version-history":[{"count":12,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages\/401\/revisions"}],"predecessor-version":[{"id":652,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages\/401\/revisions\/652"}],"up":[{"embeddable":true,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages\/59"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/media\/408"}],"wp:attachment":[{"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/media?parent=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}