Drupal Commerce
more_horiz
close

on 02nd January 2015 / by fathimath.sajila
Commerce Giftwrap module provides a very quick and easy way to offer a gift wrapping option to your Drupal Commerce checkout. This module adds a new checkout pane with configuration settings to allow users to select a gift wrapping option to add to their order along with a message to the recipient. People often buy products hoping they can gift it to a certain address. If they can get it gift wrapped, it would be an added advantage as they could deliver it directly to the person instead of buying it and then gift wrapping it and then delivering it! How to configure Commerce Giftwrap module. Step 1. Go to this link https://www.drupal.org/project/commerce_giftwrap and download Commerce Giftwrap module. Step 2. Enable Commerce Giftwrap module. Step 3. After enabling module we need to configure check out pane. So go to the Store >> Configuration >> Checkout settings. This is where all the check out panes are exists. When we click configure link of giftwrapping pane it will take us on to the configuration settings of gift wrapping pane. step 4. There is a standard Display settings these are common to all checkout panes. Select 'Display this pane in a collapsible fieldset' option from there. step 5. Bellow that we have the Gift wrapping price so enter the wrapping charge there. step 5. Additionally there is multiline Gift wrapping information about how your going to handle with gift wrapping. step 6. Below that we can allow the user to add a message to the recipient. step 7. In this step we can limit the length of the GiftWrap message to the recipient. step 8. After making these settings click Save Configuration button After configuration we have to check out how this module is going to work on a website with drupal commerce. So after purchasing some products, go to the check out page, we can see Gift wrapping option right there. If you select yes for the 'Would you like your order gift wrapped?' we get the options to add message. After filling the check out form we will go to the order review page. In 'order review', Giftwrapped prices are shown under the subtotal of all cart products. So the Order total = Subtotal + Gift wrapped price. Order review also displays gift wrapped order as yes and Gift wrapped message to the recipient. In the case of an order when we click edit order (note that the edit order action only permitted to the user with admin role) link we can show that the Gift wrapped is displayed in the cart like an item with default quantity 1 and its price given at the time of configuration. From there we can change the price and quantity like any other products in the cart. So the total order total is changed subsequently. There is a Gift wrapping tab next to the edit tab when we click on that we can see the Gift wrapping message. Drupal Drupal 7 Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 30th December 2014 / by fazeela.ma
Drupal Commerce is a software used for integrating commerce, content and community to create engaging web experiences that bring e-retailers more traffic for more results. With Drupal Commerce, online retailers have a simple yet powerful platform and flexibility to integrate a rich commerce experience anywhere within their environment. Drupal Commerce installation. Drupal Commerce provides retailers with a medium to sell their products and services. To install Drupal commerce, install the module from the the following link,https://www.drupal.org/project/commerce. Using drush, drush en commerce -y; I would personally suggest using drush to install the module, as it have many dependencies. Now got to admin -> modules, find commerce from the module list, and enable its dependencies. Install 'Inline Entity Form' module, from https://www.drupal.org/project/inline_entity_form Install using drush, drush en inline_entity_form -y; After installing the module, you could see a new menu item 'store' on the admin bar. Now we can add products, but we are missing content type for product. aren't we? Go to admin -> Structure -> Add content type Create a new content type, say product. Lets give its name as 'product' and 'Add product' as description. Now we are set to add fields. By default, every content type have title and body. Save Content type. Now we are set to add own fields to the content type, Product Image Machine name is automatically generated for the field, would be like field_product_image. Select field type and widget as Image. Click on save. Moving on, here we can set a default image for products, so that this image will show for those products with no image. Click on Save Settings. On this window, we can change the label from 'Product Image' to 'Image', as it looks good as a label. Check the checkbox box for required field, if we want it to be mandatory. Sure it is. Let it be mandatory, how come a customer buy a bag with out knowing how would it look like?. Help Text for letting the user know the purpose of this field. Let it be like, 'Image of the product'. Default Image is used when no image is uploaded. Lets leave it blank as we have already set the image field mandatory. Allow file extensions, here we already loaded with few file extensions, if we want .swf flash files then include it to the end of the listing. File Directory is where these files will be stored. Minimum and Maximum image resolution defines the height and width of the image that we can upload for the field. Maximum upload size - Size of the image. Check Enable Alt and title if wanted. Select 'Number of Values' as 1. Now finally set to save. Color Add next field, Color. Machine field is generated as field_product_color. Lets select the filed type as List(text) and Widget as Select. Go on and add the values to select from, Enter one value per line, in the format key|label. Save. Change the label, Make it mandatory, Enter a help text, Set the default value from the list box. Save Settings. Reference field Select Product reference as the field type. Here, we will get to know why we have installed inline conditions entity form module, Select Inline Entity Form - Single from list box as Widget and move on. Lets leave options list limit empty as it is the limit for the number of products. Here we have the changes in Label, Mandatory checkbox, Help text. This is how it look like at the end. Add products at Admin-> Content -> Add Content -> Product. You can see the reference field in the add product page. The module and its dependencies are mainly used in commerce sites, were the owner can manage his/her products. Drupal Drupal 7 Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 31st December 2012 / by webmaster
A few Drupal users trying to install the Drupal Commerce module in their Drupal site encountered a Fatal error: Unsupported operand types error message. If you are facing the same issue in your Drupal site then read on to find out the possible solutions. Here is a solution reported by a Drupal user. First enable the commerce_order and commerce_order_ui. This will cause your site to break. Next open your sites database using phpMyAdmin or another similar tool. Go to the system table and set the status to zero for these two modules. Now proceed to re-enable these two modules. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1748382 Drupal Drupal 7 Drupal Issues Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 31st December 2012 / by webmaster
Many Drupal users of the Drupal Commerce module wanted to know how to show the payment method on the order review page supplied by the Drupal Commerce module. If you are facing the same question with the Drupal Commerce module in your Drupal site then read on to find out the solution. Here is what you need to do. Get this Sandbox module Install the module Proceed to Store > Configuration > Checkout settings There migrate both Payment and Payment method panes to the Checkout page Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1302232 Drupal Drupal 7 Drupal Issues Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 31st December 2012 / by webmaster
Many Drupal users using the Drupal Commerce module encountered a situation in which adding a multi value product reference field in a View of products produces duplicates. If you are facing the same situation with Drupal Commerce in your Drupal site then read on to know the fix. Here is the most widely reported solution provided by a Drupal user. Click on "Query Settings" (Found in the 3rd column) There enable the "Distinct" checkbox" This might not work in all cases so here is another solution Enable Aggregation (Found in the 3rd column) You need to have the Content: Nid field added at the top of the fields list This is to ensure that it groups by that first Next go to Aggregation settings for that field and set Aggregation type to "Minimum" Now you might notice that the image will stop being displayed To fix the image issue go to Aggregation Settings for the image field There change the "Group column" from "fid" to "Entity ID" Now you will see the image display again Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1200536 Drupal Drupal 7 Views Drupal Issues Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 31st December 2012 / by webmaster
Many Drupal users using the Drupal Commerce module who owned a number of domains but only a single secure domain with SSL wanted to know how to redirect users to that secure domain from the other domain. If you are faced with the same question in your Drupal site then read on to find out the solution. Here is the solution suggested by a Drupal user. First you need to install the Drupal Login One Time module This will generate one time login links Now we need to direct the user automatically to the new URL Use the following code to do thatfunction mymodule_hook_init() { if ($_GET['sendto']) { $timestamp = REQUEST_TIME; $url = url( "login_one_time/" . $user->uid . "/" . $timestamp . "/" . user_pass_rehash($user->pass, $timestamp, $user->login), array( 'absolute' => FALSE, ) ); drupal_goto('https://' . $_GET['sendto'] . '.samplesite.com' . $url . '?destination=cart') } } This will do an automated redirect and login to samplesite.com with along with a redirect to cart. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1559582 Drupal Drupal 7 Drupal Commerce Issues Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 27th December 2012 / by webmaster
A few Drupal users having a multilingual Drupal website had noticed that the Price field disappears when adding a product in another language in a Drupal site running Drupal Commerce. If you are facing the same issue with Drupal Commerce in your Drupal site then read on to know the solution. Drupal users who had investigated the issue found that it lay with the language settings in the MySQL database related to the Drupal Commerce module. Here is the most widely reported solution. The fix is to run the following queries on the price field database tables and the related onesupdate commerce_product set language='und' where language!='und'; Also run a query of the same type for the field:update field_data_field_blabla set language='und' where language='nl'; Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1481790 Drupal Drupal 7 Drupal Issues Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 27th December 2012 / by webmaster
A number of Drupal users were facing a situation where the Fields of the Add to Cart form disappear when adding a new product after upgrading the Drupal Commerce module to version 1.4. If you are facing the same situation with Drupal Commerce in your Drupal site then read on to find out the fix. Here is the solution provided by a Drupal user who had been facing the same problem with their Drupal Commerce Module. The problem seems to be with the current database language settings. You can fix it by running.update commerce_product set language='und' where language!='und'; followed by a similar query for the field:update field_data_field_blabla set language='und' where language='nl'; Just replace the value of the language attribute to und where it is not currently set Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1843570 Drupal Drupal 7 Drupal Issues Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 27th December 2012 / by webmaster
A number of Drupal users have encountered a White screen page accompanied by a "PHP error: Call to a member function value() on a non-object" error message when accessing the Checkout Review page of the Drupal Commerce module. If you are facing the same situation with Drupal Commerce in your Drupal site then read on to find out the solution. Due to the number of users who reported having the same error in their Drupal site a patch was created. The problem was due to the Address field in the Customer Profile being set as a multiple value field. You can apply the patch or You could upgrade to the latest version of the module to which the patch has been committed. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1653338 Drupal Drupal 7 Drupal Issues Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 26th December 2012 / by webmaster
A number of Drupal users wanted to know how to implement discounts in a shop running on Drupal Commerce. If you are facing the same question regarding Drupal Commerce in your Drupal site then read on to know the solution. The simplest way to implement a discount structure in your Drupal Commerce based shop is to install and configure the Drupal Commerce Discount module. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1153600 Drupal Drupal 7 Drupal Issues Drupal Commerce Leave a reply Your email address will not be published. Required fields are marker *