When looking for Drupal native e-commerce carts its limited to two packages Ubercart and Commerce. Ubercart is the long leading one and Commerce is the new one, but developed for drupal 7. Commerce is a bit complex when compared with Ubercart but it offers more features like shipping, inventory control etc. And another issue with Ubercart stores who want to upgrade to Drupal 7 is, lot of Ubercart contrib modules weren't being upgraded to 7. So the solution is Commerce.
Drupal Technical
The way Drupal manages translation have been advancing over several versions. Drupal requires the combination of core & contributed modules to make a site multi-lingual. We will be using Drupal 7's content translation method. One challenge you will be facing is to translate the content into the languages needed. There are lots of tools available for this online like google's translate. Using this method, for example, Arabic node will hold all Arabic values and English node will hold all the English values.
A website will be having two kinds of users mainly, users with administrative privileges and simple users. Most of all a single root user. An administrator one of the main challenge will be in monitoring the site users and its contents. Admin should be notified regarding the new user registration and extra add-ons, etc. For a website with multiple users managing site contents and updates from user roles could become a nightmare.
Working with Drupal and not familiar with the database queries could be impossible. There is insert, update and delete queries for Drupal. Once I had a requirement on updating 2 fields in one update query.
There are a lot of pragmatically created crawlers today. If is a website is open for registration these crawlers can maliciously faux accounts of their own. In such cases, we usually use CAPTCHA. CAPTCHA is like a protective shield for our website from those bots.
In one of my recent projects i came across a situation where i had to create a order line item programatically. If you have ever came across such a situation you would end up in line_item_example.module which demonstrate the addition of a new line item type programatically.
Are you trying to create a scrolling marquee content programatically in Drupal. Then read on!
Commerce Discount module provides a user-friendly UI for managing discounts. The Discount UI (available under Admin → Commerce → Store → Discounts) allows creating and editing discounts. Each discount consists of two related entities: Commerce Discount and Commerce Discount Offer.
Views bulk operations module is used for performing multiple operations for multiple rows on a view. Here we can have default action on the view configurations and can also add our custom actions as per the requirements. Views bulk operation module reuses and extends Drupal core Action system. Also most of the Drupal core actions are VBO-compatible actions.
What is Twig? How will it change Drupal themes? Drupal 8 is coming with lot of improvement in theme layer. Twig is a template engine and easy to learn. Twig is help to create template without knowledge of PHP. Twig is part of the symfony2. It created by SensioLabs. The changes in classes and arrays combined to attribute object. In Drupal 8 .tpl.php file is replaced by *.html.twig template files.
Google calendars are used to track events, a way for organizing your scheduled works/tasks with easy accesses. In one of my Drupal site, I need to embed a Google calendar to create nodes on Drupal based on events from a Google calendar.
Creating an order invoice detail as pdf can be a most frequent requirement when dealing with web applications. In this article I like to explain how to create a more advanced pdf document in Drupal. We will be creating a order detail report using tcpdf. TCPDF in based on FPDF which contains more advanced features compared to FPDF.
Drupal 8 is new version of Drupal. It is very different from All old Drupal versions. There are lots of new feature in Drupal 8. As you know Drupal8 is based on symphony framework. Are you excited to know what's new in Drupal 8? I have listed out some features below:
The createItem() method lets you add data to the queue and the numberOfItems() method lets you see how many items are present in the queue. We use the claimItem() method of the queue object to get an item from the queue. claimItem() returns the data property, which contains whatever we put into the queue. If there is no item in the queue then claimItem() will return FALSE.
Steps for creating queue.
The Queue API in Drupal is designed to manage tasks.The queue system allows placing items in a queue and processing them later.The Queue API is a simple,reliable way to keep track huge lists of tasks without requiring you to know anything about the whole group.Prepare your data, put it in one item at a time, and take back one item at a time to process. When you are done with a single item, just report back that you have finished and the item is removed from the queue.
Context is one of the most useful architectural modules for Drupal. Contexts allows a site administrator to manage contextual conditions and reactions. Context feature works by setting conditions such as a path or a node type. If that condition is present then the corresponding reactions, such as adding blocks to regions or setting an active menu, will work as configured.
Google Analytics for Drupal: Unlocking Powerful Insights for Website Optimization
Many a times while developing sites we would need to post data to an external server, for example if you have an ecommerce site and wants to manage CRM in a different server at such time you would need to pass the order details to different server. We can POST the data using CURL or drupal_http_request().
In Drupal 8, .info file is converted to .info.yml file. It is a symphony component. The .info.yml file contains the metadata about your theme, such as theme name, description, version of the Drupal it supports, and type. Type is new metadata type indicate type of the extension such as module, theme etc.
This tutorial shows you how to insert a form into a modal so it pops up on your site after a user clicks a link, without having to write any JavaScript at all. The functionality that supplies this is the CTools module and core ajax functionality in Drupal 7.