Book Image

Drupal E-commerce with Ubercart 2.x

By : George Papadongonas, Yiannis Doxaras
Book Image

Drupal E-commerce with Ubercart 2.x

By: George Papadongonas, Yiannis Doxaras

Overview of this book

<p>Ubercart is an exciting open source e-commerce package that fully integrates your online store with Drupal. Ubercart leverages the advantages of Drupal's major core and contributed systems, providing your users with shopping cart functionality that integrates with other parts of your company or community web site. It can be used to sell shippable goods, downloadable products, recurring memberships, and event tickets, and to enable complex interactions with Drupal through various add-on contributions.<br /><br />This book guides you through the process of creating, administrating and marketing an online store, providing information and tips for raising your sales and your customer support. It will also show you how to maintain and add advanced capabilities to your company's eShop.<br /><br />If you are a merchant wanting to invest your precious time to update the online presence of your company, or a web site designer wanting to expand your business and offer innovative solutions to your clients, this book has been written for you. You don't need any programming experience to install and customize your electronic store. The procedure is well structured and easy and all we ask you to do is to follow some simple steps in order to complete some specific tasks in each chapter. The book will guide you through the installation and configuration of Drupal and Ubercart. From there it will cover specific areas like managing orders, customizing the frontend and user interface. At the end it covers the advanced topics of internet marketing techniques and Search Engine Optimization.<br /><br />When you reach the end of the book, you'll have a working store and you'll have obtained all the required knowledge to customize it to your specific needs.</p>
Table of Contents (20 chapters)
Drupal e-commerce with Ubercart 2.x
Credits
About the Authors
Acknowledgement
About the Reviewer
Preface
Index

Creating Hotel Room type


In this module we will create a new content type, named Hotel Room. After you have finished with the settings, you have to create your rooms. Go to Home | Administer | Create Content | Hotel Room Type. You may notice that it is the default product insertion form, but contains some new fields, required to update a single product page to a hotel room page. Let's create a new room type to explore all the available options.

  • Title: This is the name of the room type that the clients see when they want to book a room. Enter Standard Room.

  • Room Code: The room code is optional, but is useful when you have many types of rooms. Enter 101.

  • Smoking Room: Select whether this type of room is Smoking or Non-Smoking.

  • Maximum Occupancy: Here you can define the maximum people that can stay in this type of room. Enter 4.

  • Default Minimum Occupancy Requirement: If there is a minimum occupancy requirement, enter a number here. We don't need it, so just leave the default value, 0.

  • Default Number Available: If you enter a default number of available rooms here, you don't have to enter them manually for each calendar day. You just need to select a month and this value is entered for each day of this month. Let's say you have 10 rooms of this type, so enter 10 in this field.

  • Base Rate: Select one of the base rates that you defined in the settings section.

  • Modifier: Select one of the price modifiers that you created in the settings section.

  • Occupancy modifiers: Insert one of the occupancy that you created in the settings section.

  • Image: Insert an image for this hotel type.

  • Body: In this you can write a short or long description, so that the clients can understand exactly what this type of room offers.

  • Click on Save to create it.

After the creation of the room, you will see a calendar for the next 12 months. This is used to enter the availability and the restrictions for each room on a daily basis.

Click on edit to enter or to see the details for each day of the selected month. If you enter a value in the Default Number Available field, it will be populated for each day. If you click on the Restrictions link, you can select a required minimum stay, the required minimum guests, and whether these rooms are available for check-in or check-out. Click on Submit and repeat this procedure with the remaining months.