Creating a Shippable Product

The sample Shippable Product we discussed in Chapter 3—Planning Your Shop was a T-Rex model, so let's add it to our store!

We should start by typing in the products Name and Description (both of which are mandatory fields):

Our 1 meter scale model of T-Rex (model: TR15) is bound to scare anyone, especially with its new motion sensor, which sets off a lifelike

This model Is a must-have for any model dinosaur lover; it is made of durable, shock resistant plastic complete with fantastic hand-painted detail. This model requires two AA sizes batteries (not included) and comes with a 6-month guarantee, we think you will love this product—but if for whatever reason it falls below the standards you expect, we are happy to offer a no-fuss 30-day money back guarantee.

Emma from Newcastle said 'This dinosaur was fantastic! I bought one for my brother and he just loves it, especially when an unsuspecting

After the first sentence of the description I have typed the line <!--break-->. This allows the text to split depending on the page we are on. If we are on a list of products, we will only see the first sentence, but if we view a page containing information on the product, we will see the entire description.

If we enable or install one of the rich-text editors that can be used in Drupal (such as TinyMCE, WYMEditor, or FCKEditor), the break function will not work. If you have these modules installed and wish to use the break function, you will need to turn off the rich text editor.

By default, only certain HTML tags can be used in product descriptions in the Filtered HTML option, if we wish to use more HTML tags later then we need to select the Full HTML format from the Input format section of the form.

v Input format 0 Filtered Html

O Web page addresses and e-mail addresses turn into links automatically*

■O Allows« HTML tagj <em> «strongs <cite> -icode> <ul> *ol> <11 > <dl> <dt> <dd>

O Unas and paragraphs break automatically.

O Vau may post PHP code. You shculii include <?php?>tags,

• ■ web page »ddrsssei and e-mail addresses turn Into link* automatically, O Unas and paragraphs break automatically.

More information about formatting options

Next we can type in the Price of the product and select a Renewal schedule:

Next we can type in the Price of the product and select a Renewal schedule:

There are no renewal schedules in the list, as we have not defined any. A renewal schedule defines how often stock should be renewed for a product.

As this product is available to anyone and not just someone who has a user account with Doug's Dinos (i.e. like repair services) we should set Anonymous purchasing policy for this product to be Flexible, which states that: Customers can choose to register, login or checkout anonymously.

v Anonymous purchases

Anonymous purchasing policy for this product:

Flexible *

This sets the polity for user registrations during checkout For this product. This setting overrides the site-wide setting, which Is currently set to flexible.

(1 Registered only: Anonymous purchases are disabled. All customers must register or login before they can checkout.

O Flexible: Customers can choose to register, login or checkout anonymously.

Anonymous only: Only anonymous purchases are allowed. Customers are never given the option to register during checkout. Customers will be given the option of logging in or purchasing anonymously.

SKU:

TROOT

If you have an unique identifier For this product From another system or database, enter that here. Thi is optional, as system IDs are automatically created for each product,

® Visible

<0 Hidden

Choose whether or not you want the 'Add to cart' link visible For this product.

The catalog number for the T-Rex in Doug's supplier's catalog is TR001, so we should enter that as the SKU. It is not important, but it may make things easier if we were to integrate additional systems with our e-Commerce store at a later time. We also want visitors to be able to buy this product so we should have the 'Add to cart' link set to visible.

If we are always going to have a surplus in stock, then there is little point in enabling the Inventory control feature; however, Doug only has a small amount of stock, and would like to be able to keep tabs on his stock. So let's enable it and set the initial number in stock as 25.

Inventory control

Inventory management for this item: G Disabled ® Enabled

When enabled, the number in stock v.fll be decremented vJienever an order of this item is made When stock reaches zero, the 'Add to cart' viill be replaced with 'Sold out'.

Number in stock:

Number of products in inventor,'.

Availability estimate:_

Usually ships in 24 hours, ▼

How long it will take this item to leave the fulfillment center once the order has been placed?

As Doug has a fair amount in stock, and does not expect overwhelming demand, he will be able to ship the product within 24 hours, so let's use that option!

The final option on the page is a Log message; this is just a tab to leave notes for other administrators of our Drupal installation to say what we have done. Let's just write a note to say We have added a T-Rex product, and then click the Submit button.

The Finished Product

If we look at the front end of our Drupal installation we can see the finished product!

T-Rex with sound effects(lm) Edit

Our 1 meter scale model oFT-Rex (model: TR15) is bound to scare anyone, especially with its new motion sensor, which sets off a lifelike 'Roar1,

This model is a must-have for any model dinosaur iover; it is made of durable, shock resistant plastic complete with fantastic hand-painted detail. This model requires two AA sizes batteries (not included) and comes with a 6-month guarantee, we think you will love this product—but if for whatever reason it falls below the standards you expect, we are happy to offer a no-fuss 30-day money back guarantee. Any questions just call us on 555-0135.

Emma from Newcastle said This dinosaur was fantastic! I bought one For my brother and he just toves It, especially when an unsuspecting visitor to his room gets a nasty shock!'

Add n*¥r cotnwnt to cart

0 0

Post a comment