Modules Needed for Ubercart Tutorial Part 1
You'll need to download the following modules to set up your Ubercart store. We're using Drupal 6 and Ubercart 2.Ubercart Modules Needed
So first we need to install Ubercart. Here's a clean installation of Drupal, and we're going to go online and find the Ubercart module. We're using Drupal 6 and Ubercart 2. So google Ubercart and look for the module and download the version for Drupal version 6.You'll want to download all of them there's links to them, and then just go into your drupal installation folder. Go to /sites/all/. You're going to want to make a directory called modules in there, and then unzip or untar all of your module files here such as Ubercart, FileField, all of them there.
So be sure to check the description of the YouTube video for links to my blog, and the post that has all the modules you need to download and unzip in that folder.
So you go to Admin > Modules and we'll enable all the modules we need. First we need to enable the Content module, enable the FileField module, ImageField, as well as Path. We also need ImageAPI, ImageAPI GD2, ImageCache, this will give us support for images for products. We need Token, Cart, Conditional Actions, Order, Product, Store, Catalog, and that's it!
So we save our configuration, and after we've enabled all the modules we need, it's time to start configuring the store.
Ubercart Store Configuration
On the menu click on store administration and then configuration and then choose store settings. So this is all the information about your store. If you pick edit, you can pick your store name, Ubercart Demo Store. Store owner, put in your name, and put in your email address below, your store phone number, your store fax number, and then the address of your store here. Pick your country and province, or territory, or state and then your postal code.You can put in a help page if you want, you'll have to configure that later though.
Enable image support in Ubercart
At the next screen after Save Configuration, scroll to the bottom and click on "click here" to enable image support. Now images are enabled for our products and our catalogs.Creating products in Ubercart
If you click on Create Content in the menu, and click on product, we'll create our first product here. So I'm going to create a fish hat. I don't know why but I saw a cool fish hat on reddit and I've been a bit obsessed with it ever since. I want one, I want my girlfriend to make me one.Now we're going to find an appropriate photo for this fish hat. I wouldn't recommend google ganking like this on a production web site, but this is just for fun. So browse and find the image. Make sure it fits the file format standards.
You can add some text here that will show up in the alternate. You need to enter an SKU. It can be anything but Drupal requires that you do. Also add a sell price, that's the cost that customers will be charged. You want to put in a weight, and you also want to put in the dimensions of the product in whatever unit measurement you want or else you won't be able to ship the product and get shipping quotes later on.
Now we'll have to go into Administer > User Management > User Permissions. For the anonymous and authenticated user enable the following permissions:
- View ImageCache Cart
- View ImageCache product
- View ImageCache product_full
- View ImageCache product_list
- View ImageCache uc_thumbnail
Creating an Ubercart Catalog
We are going to go to store administration, and you'll notice we have an unlisted product. We have created a catalog for it yet, so we need to add terms for the product to inhabit.We'll do that by creating a catalog by clicking the link below, add terms for this product to inhabit.
Now I'm trying to find a suitable image for this. We'll add a silly hats catalog for the fish hat to inhabit. Add an image and a description and then click save. You've just created a catalog.
So now if you go back to store administration, and click on the orphaned products link at the bottom. Find the orphaned product which is the fish hat and if you go to catalog, just add it to the fish hats catalog and click save.
You'll see there are no more orphaned products which is great. Now we go to our catalog and our fish hat is in the silly hats catalog which is very nice.
Creating a menu link to the Ubercart catalog
So now click on administer then menus and then primary links. We're going to create a link to the catalog here. You want to put the menu link title silly hats catalog down below, and in the top you put the path to the catalog which is /taxonomy/term/1.Create a description, click enabled, and then click save.
So now the silly hats catalog will show up in the primary links menu, but now we have to go to Administer > Blocks. Go to the very bottom and find Primary Links Menu and set that to the right sidebar and click save. Now you'll see the Primary links in the right side that now has our catalog on the right.
Creating more Ubercart products for our catalog
Now lets create another product for our catalog. Lets call it beer hat. Everyone loves beer hats, if you've been in college anyways. Add a description, add the catalog silly hats. Lets find a beer hat picture real quick off google. I wouldn't recommend this, this is for demonstration purposes only. Lets rename the file here real quick. There we go we can upload the file now.Add a title here called beer hat. Change the weight, add a length, width and height, I don't really know what it is I'm just guessing here. Oops we forget to add the SKU, add the pesky SKU, just add beer-0001, it can be anything. Now click save and you've got a beer hat in the catalog here.
So now you can see we have a beer hat and a fish hat in our catalog. You can add each of them to your cart and play around with it. You can checkout and pay for it, but we haven't set up payment yet, and that will be the next step.
Hi,
ReplyDeleteI watched your video today, and my only difficulty is finding the URL path for the primary link. Is there a list of URLs for all the content in drupal? I'm used to coding html/css/php pages by hand, and it's all a little counter-intuitive. Thanks!
Excellent pieces. Keep posting such kind of information on your blog. I really impressed by your blog.
ReplyDeleteDon't Waste Your Time Checking CHF USD Every Day! Get The Most Accurate Exchange Rate For The CHF USD With Our Original Universal Currency Converter.
ReplyDeleteFudxcoin is the Us based company.This company deals in sale and purchase of Crypto Currency. By its currency one can purchase different types of goods and pay for food ordered from different restaurants in lieu of cash. So It is offers as one stop delivery service under it. It is basically a hospitality industry. This company issues token ie crypto coins and the customer can then purchase any product or goods in lieu of crypto coin.
ReplyDelete•Accumulated tokens that the company issues can be exchanged for various goods and services from online company and e stores.
•Customers can buy and sell the cryto currency from various platforms like CEX and DEX.
contact@fudxcoin.com
++1 209-921-6581
Do you believe in long term investement . One of the option of doing investement is by investing in Crypto currencies. You can invest in Fudxcoin company that deals in the selling and purchasing of Crypto Currency. It is a reliable company. One need not doubt in investing in it as i have also bought crypto currency from it and feeling very satisfied with their services.
ReplyDeletecrypto currency block chain technology
pusulabet
ReplyDeletesex hattı
hipodrombet
rulet siteleri
rexbet
K2Z46N