Ubercart
more_horiz
close

on 16th November 2017 / by aby.va
Deleting a content type in Drupal 7 is very simple. We just go to admin/structure/types and click delete button of the content type which we need to delete. But in the case of Ubercart, there is no delete link in product content type (admin/structure/types). So how we can delete this? Steps to delete ubercart product content type : Delete the uc_product from ubercart store For this first go to admin/store/products/classes. There we can see the uc_product lists. Click the delete button of the content type which we need to delete. Delete the content type of uc_product from structure For this, go to admin/structure/types and click delete button of the content type which we need to delete. We can see two content types like product and product kit in the content type lists. These are uc_product content types and these two are default uc_product content type of ubercart so these cannot be deleted by configuration or other ways. Hope this article helped :) Drupal 7 Ubercart Leave a reply Your email address will not be published. Required fields are marker *
close

on 06th April 2016 / by Sarin S R
Zyxware as an organisation is trying to introduce cost effective measures that can save time, resources and bring value to client, as part of that we have introduced automation of checkout process in Drupal Ubercart. On the analysis made in many ecommerce website we have come to the conclusion that checkout process is the main functional flow that is critical to client and it was to be automated to keep a check on the stability of checkout process flow. Stability of checkout process is of main concern because that is what will be directly relating to online sales/marketing of online products. We have automated the below checkout scenarios in Drupal Ubercart using Selenium: Checkout process for web user Checkout process for Authenticated user Paypal Checkout process for web user Paypal Checkout process for Authenticated user All the four scenarios include: Selecting a product Adding the selected product to cart Procedding to checkout process Enetring the shipping details Making Payment Complete the transaction These scripts can be used as a check on checkout process repeatedly to keep track of the stability of checkout. The scripts developed can be easily modified according to requirement or any alteration needed. Also the script can be imported to java, ruby, python etc which in turn can be run on webdriver to bring unlimited flexibility to the automation process. If you need any further assistance, please feel free to get in touch with us. Software Testing Drupal Ubercart Leave a reply Your email address will not be published. Required fields are marker *
close

on 25th November 2015 / by Moses Raymond
At the heart of all Ecommerce sites, lies a powerful Content Management System, and therefore it is extremely important to choose the right platform. A Content Management System is a computer application that permits us to make changes to the Ecommerce website and publish the necessary changes. Since the CMS allows organization and modifications to the content, it is the core of your Ecommerce business in all respects. Making the right choice of the CMS is absolutely essential for the smooth and seamless functioning of your store and thus needs careful consideration before deciding on one. Store owners have their task fairly cut out, as Drupal Commerce and Ubercart are the obvious choices when it is time to choose. The below discussion will help you make an informed choice about this important part of your business. Drupal Commerce: This versatile open-source ecommerce solution is an obvious choice for building applications and websites and has been at the centre of many leading ecommerce websites. It is well-equipped to understand and fulfil your requirements to build an adaptable online store. Let us look at the features that Drupal Commerce has to offer: Flexibility is a virtue: Since there are no hard-coded assumptions about product display requirements, there is a huge flexibility to go ahead and build a site that meets all your needs. You can easily expand the store or make the necessary changes as per process needs and design. So, go ahead and give your online store the much-needed makeover whenever you desire to. Adaptability at your disposal: Your site can change as the business grows. With Drupal Commerce as your platform, making layout changes or business logic variations becomes an easy affair. Packed with features: Availability of a shopping cart, checkout form and a full administration system in place makes Drupal Commerce the appropriate CMS for an online store. The fact that it support various languages and multiple currencies is a bonus factor that acts in its favour. Ubercart: This open-source platform is a quick to use and implement software that has multiple modules at its disposal and ensures complete fulfilment of your needs. It's built-in payment processing is a boon for setting up the store in real quick time. Being the first Drupal ecommerce platform for Drupal 6, Ubercart has evolved and grown into a user-friendly and refined structure that finds favour with many ecommerce owners. Ubercart offers some great features too. So let’s take look at them: Ubercart is perfect for beginners in ecommerce and ideal for small- sized stores Order processing page can be customized as per the business model you have adopted Payment and shipping options are in-built, giving users the discretion to choose as an entire package or a-la-carte. There is absolutely no hassle when it comes to knowing a particular order status at any stage of the buying process. Drupal commerce is better suited to handle complicated maintenance cycles and programming processes and is ideal for mid-sized and large Ecommerce stores, while Ubercart is perfect for the new and small stores. Drupal commerce scores over Ubercart in terms of flexibility and growth and thus has found favour amongst the world’s leading shopping sites. Zyxware is completely geared up to manage your ecommerce store by using the most advanced and technologically suited platform for your business. Connect with us to know more about our Drupal website development services and how this critical choice could impact and support your business model. References: Ubercart Vs Drupal Commerce – Which Platform Should eCommerce Owners Choose In 2015 Ubercart vs Drupal Commerce Drupal Development services Drupal Development Drupal Commerce Ubercart Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 04th March 2015 / by anju.r
Suppose your Drupal projects handles products which can be purchased through online. And you are using Ubercart PayPal and Ubercart Payment modules to handle payments related to purchase. Either registerd or non registered user can buy the product. User can use paypal through two ways. "Can purchase through sandbox environment or Can purchase using credit card". So a tester can test the paypal functionality using both these ways. Here I am going to explain how can you test the purchasing functionality through Sandbox. Please check the below steps which explains step to step process to test the paypal functionality. Open the site. Add a product to cart. Select transaction through paypal in the checkout page. This will open https://www.sandbox.paypal.com/. Click Pay with my PayPal account. Please refer the below image. //login.jpg Then log in the sandbox server using buyer account. This will be provided by the developer. Please refer the below image.//login2.jpg Click Continue. Please refer the below image.//login3.jpg This will again redirect to checkout page. Fill the details and again click continue checkout. Click on “Submit Order” button for completing the transaction. You will then see a page saying your transaction is complete and order number. You can click History in the sandbox server to see the orders. And can ensure that you order is completed.//history.jpg Hope you understand PayPal testing. Please note that here I specified only one method. Payment using credit card information is not specified here. And the steps may vary depending on the project. Drupal Ubercart Testing methods Paypal Sandbox Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 04th March 2015 / by rohith.pv
This is a simple and easy way to theme an ubercart shopping cart block in a Drupal site. When we enable ubercart in our Drupal website we will get a block called shopping cart. This block will show us number of items in which are added to cart. When we use our own theme this block may not looks good, but we can theme it in a very easy manner. This article can be useful if you want to theme shopping cart block in Drupal. Open your theme folder and look for template.php Open your hook_theme(YOURTHEME_theme), add a new theme name. Here I am using "cart_count" as theme name. 'cart_count' => array( 'variables' => array( 'count' => NULL, 'text' => NULL, ), ),For example here I just only want the number of items and a text that should change to item/items according to number of items in the cart. This is a dummy example, you must do this in an appropriate way of course. Copy the following code inside your template.php function YOURTHEME_cart_count($variables) { $count = $variables['count']; $text = $variables['text']; $output = ''; $output .= ''; $output .= "$count"; $output .= "$text"; $output .= ''; return $output; }Create a YOURTHEME_uc_cart_block_summary function inside your template.php function YOURTHEME_uc_cart_block_summary($variables) { $item_count = $variables['item_count']; $total = $variables['total']; $summary_links = $variables['summary_links']; $item_link = $summary_links['cart-block-view-cart']['href']; $item_text = format_plural($item_count, 'Item', 'Items'); $output = ''; $output .= '<div class="cart-block-custm-items">'; $output .= '<div>' . theme('cart_count', array('count' => l($item_count, $item_link), )) . '</div>'; $output .= '<div>' . theme('cart_count', array('text' => $item_text)) . '</div>'; $output .= '</div>'; return $output; }You might also need to override YOURTHEME_uc_cart_block_title in this same manner. Clear the cache when you make these changes. You can use CSS to add a background image and style the block. Drupal Ubercart Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 27th February 2015 / by meera.l
We had faced an issue with invoice sent by authorize.net, for anonymous purchase a product in ubercart in one of our Drupal 7 site. After the purchase is completed, the user receives an invoice from authorize.net. But if the user is anonymous, the invoice's customer id is set as zero. We had sorted out the issue and fixed it. Read on to know how to solve this problem When anonymous user purchases, user account is created only on checkout complete and the data sent to authorize.net is set before the hook_uc_checkout_complete is called. The submit data is prepares inside the uc_authorizenet.module file's function _uc_authorizenet_charge() and it fetches the uid from the $user varibale, but at that time it is zero. So to remove senting the field cust_id for anonymous user we had added the following code inside _uc_authorizenet_charge() function. <?php // When a new user purchases an invoice with cust id '0' is sent. // Added to unset customer id. if ($user->uid == 0) { unset($submit_data['x_cust_id']); } ?>This code snippet helps to unset the customer id field in the invoice for anonymous users. Drupal Drupal 7 Ubercart Authorize.net Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 20th January 2015 / by anju.r
Suppose your Drupal projects handles products which can be shipped from one location to another and you are using Ubercart shipping quote' module to handle payment related to weight and shipping zones. Admin have the permission to add Zones rate and weight for each product, and the registered user's can buy the product. Here I am going to explain some of the test cases to be tested while testing this functionality. The cases you have to test Ensure that the following module is enabled in your site- uc global quote module. Ensure that admin will be able to add new shipping zones. You can add new shipping zones at admin/store/settings/quotes/methods/zones Ensure that admin will be able to add "Flat rate quote" or as "Weight quote" depending on the project admin/store/settings/quotes/methods/global_quote Ensure that prize values are changing as per the shipping zone. Ensure that the drupal site gives accurate prize value for both real numbers and floating point numbers. Ensure that prize values are changing as per the region. Ensure that prize values are changing as a combination of weight and zone. Ensure that admin will be able to view/edit/delete the zones. Ensure that admin will be able to add conditions for Shipping quotes. Ensure that admin will be able to view/edit/delete rates. Ensure that the changed values are reflected in the drupal website. Ensure that users other than admin doesn't have the permission to add/edit shipping zones, weights and rates. Ensure that error message will be displayed for products with no weights when shipping costs are calculated. Ensure that error message will be displayed for products with no rates when shipping costs are calculated. Ensure that error message will be displayed for products with no country when shipping costs are calculated. Ensure that when customer order a product, he will be able to see the shipping cost at the checkout page. Ensure that error message will be displayed if the customer proceeds the order without calculating he shipping cost. This article specify some of the cases which should be considered while using uc global quote module in projects in Drupal 7. Procedure may vary depends on the drupal versions and requirement. Drupal Ubercart Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 08th January 2015 / by prince.kr
In Drupal we can create a time based subscription for a user for a given role. The user will be assigned to that role for a certain limit of time, after that the role will expire. The subscription will be based on Ubercart product. When a user purchases the product, account of user is upgraded to a specified role for a given time limit. The user can also renew for the role by purchasing the product after end of subscription. The following the steps to upgrade an ubercart product and to set role per product subscriptions. Create a new role to be assigned after product purchase. Enable Roles module from module list(admin/build/modules/list). Go to Admin->User Management->Roles(admin/user/roles). Set permissions for that role by going to Admin->User Management->Roles (admin/user/permissions). Now configure the product module Go to Store Administration->Configurations->Product Settings (admin/store/settings/products/overview). Under Product features->Role Assignment Settings, set the role that you have created as the default role. In product role check, grant the role to the users whom you want to purchase the product. Set the expiration date for the product. In the product feature settings.Add new product feature for role assignment. Set the appropriate SKU and uncheck the Shippable product checkbox. Select multiply by quantity if u want user to be able to purchase the product more than once and multiply the expiration date by number of time the product is purchased. If you want to override the default expiration period check the Override Default expiration period checkbox(Go to admin/user/roles/edit). Checking on the conditional actions assigned for product renewal checking on the conditional actions at admin/store/ca/uc_role_renewal/edit/conditions. Under conditions order status set to completed. Hope the above helps to set time based role to a user with ubercart product subscriptions. Drupal Drupal 7 Ubercart Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 18th December 2014 / by anju.r
Suppose your Drupal project handles products which can be purchased through online and you are using Ubercart 'taxes' module to handle tax rates which are applicable to your product. Also Admin has the permission to add tax rates and conditions. And a registered user can buy the product. Here I am going to explain some of the test cases which you have to execute while testing this functionality. The cases you have to test are: Ensure that uc taxes module is enabled in your site. If tax module is enable in your Druapl website, it can be find at Home » Administration » Store » Configuration » Taxes Ensure that Admin is ablt to add new tax rate Admin can add tax rate at /Admin/store/settings/taxes/add. Ensure that Admin is able to change tax rate. Ensure that Admin is able to edit/delete tax rate. Ensure that Admin is able to add/edit/delete condition. Ensure that the tax rate is applied to the prodcut. Ensure that tax rates are changing as per the condition. Ensure that the drupal site gives accurate prize value for both real numbers and floating point numbers. Ensure that the changed values are reflected in the drupal website. Ensure that users other than Admin doesn't have the permission to add/edit tax rates. Ensure that error message will be displayed if the conditions in tax rated does not satisfy. Ensure that error message will be displayed if the customer proceeds the order without calculating the tax rates. This article specify some of the cases which should be considered while using uc taxes module in projects in Drupal 7. Procedure may vary depends on the Drupal versions and requirement. Drupal Ubercart Software Testing Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 11th December 2014 / by nidhi.sen
The client requirement was to add an option to enable the purchase of free products in an eCommerce site implemented using the Ubercart module of Drupal. This option can be implemented using the module named 'uc_free_order'(with Ubercart and other dependent modules installed). At the time of purchase, the 'uc_free_order' module checks the price of the product to verify if the amount is less than or equal to zero. In this scenario, the checkout page and the credit card options will not be displayed. Instead 'No payment required' message will be displayed inside the 'Payment method' box. Read on to know how to configure it in the site. Currently the 'uc_free_order' module is only available in Drupal 6 version(http://drupal.org/project/uc_free_order). Hence, we have made a few changes in the 'uc_free_order.info' file, so that it can be installed and used in the Drupal 7 site. The following changes need to be made in the uc_free_order.info file: Change the 'core' from 6.x to 7.xChange the 'version' from 6.x-1.x-dev to 7.x-1.x-dev (if its a Dev version) Applying these changes will enable the 'uc_free_order' module to be used in your Drupal 7 sites. Code changes need to be made in the uc_free_order.module, since the hook functions currently used in this module are supported in the Drupal 7 version too. Drupal Drupal 6 Drupal 7 Ubercart Leave a reply Your email address will not be published. Required fields are marker *