Monday, Feb 2, 2015
Most Drupal Commerce sites, one would think, are likely to want to send emails to their customers detailing the contents and total cost of their order for confirmation purposes. However, it can be surprisingly difficult to show all of the information required, so I thought I’d write something down to make sure I have something to refer to next time this comes up!
By default, the tokens available to the commerce mail module only show each individual line item and the order total. ...
Wednesday, Mar 16, 2011
There are a number of things that Drupal and Ubercart does out of the box that are brilliant. However, there are a few things that you will probably need to get your site running well and capable of dealing with payments and running as an e-commerce store in the UK.
VAT Install the VAT module (http://drupal.org/project/uc_vat). As it is a requirement for most products sold in the UK to be eligible for VAT then you need a good way of dealing with it. ...
Monday, Jan 17, 2011
So, you have a kicking Drupal Ubercart site but you don’t like the way that the shopping cart block works. Maybe you want it on one line. Maybe you want to change the structure of it? How can it be done?
A little bit of investigation leads us to line 751 of uc_cart.module.
function theme_uc_cart_block_summary($item_count, $item_text, $total, $summary_links) { $context = array( 'revision' => 'themed-original', 'type' => 'amount', ); // Build the basic table with the number of items in the cart and total. ...
Thursday, Mar 25, 2010
The migration of OsCommerce user to Drupal user can be a troublesome one, largely due to the password storage within OsCommerce. Ryan from Ubercart “the osCommerce method of storing passwords involves using “salt” on the password… appending some random characters and making an MD5 of it all. You can’t undo MD5 hashes to get the original password, unfortunately, and Drupal just uses an MD5 of the password itself” (http://www.ubercart.org/forum/development/1379/oscommerce_ubercart).
Therefore, the entirety of users to be migrated is tricky, however, a large amount of the details can be sent across as required. ...
Sunday, Mar 21, 2010
Following the uploading of products to one product database within phpmyadmin/mysql root, you will now have a Drupal database with a new table named ‘products’ within it. You can then use the table wizard module to expose the table to the migrate module and draw relationships between the ‘products’ and ‘uc_products’ database table.
I have added another little script which runs almost the same process as the migrate module, however, this may need to be edited to run successfully: ...
Saturday, Mar 20, 2010
The difficult thing that appears with moving the products using the migrate moduel appears to be the inability to put multiple tables into one table. To counteract this I ended up migrating all ot the Oscommerce product data into one database table and then sending the content over with the migrate module. The code ended up something like this although this is obviously editable dependant on what data you have in Oscommerce/want in Drupal: ...
Wednesday, Mar 10, 2010
The process of migrating Oscommerce to Drupal Ubercart, does involve a few processes, however, the advantages are numerous. Check out http://www.ubercart.org/drupal-ecommerce and http://groups.drupal.org/node/8096 for some data about why Ubercart/Migrating from Oscommerce. Personally I feel that the codebase of oscommerce has become very outdated and is no longer running to the potential it could. Alongside this, the Drupal project is growing and Oscommerce shrinking, with a large proportion of new modules being produced for Drupal/Ubercart. ...
Connect on LinkedIn. Follow me on Twitter. Grab the RSS Feed