Thanks for the reply, Matt. I'd like to add to your explanation that one key to how the pet site passes that selected image back to the product selection page is by explicitly adding to the cookie in javascript. I'm not sure how keen I am on that, but I was just so happy to see a working example of a Drupal/Ubercart doing exactly what I am working on.
What I've got whipped up is a node template override that shows the product image + a selected image next to it (one day will be an imprint preview either thru imagecache or some other mojo) and a hidden attribute form whose value gets with the jquery click of an image in the gallery shown below in the embedded view.
Rambles.. I'll post about it once the site is live. Pretty excited stuff.
I might not be able to fully comment, but I'll try. The project in question involved some serious constraints on what could be accomplished. And it involved trying to replicate the functionality of another system in an extremely short time frame. So hopefully my memory serves me well - I've looked at some many projects since this one.
If I remember correctly on the first part, it originally involved Nodereference Explorer, but I'm not positive (and I haven't looked at this for a long time). The actual gallery is just done through Views (and CCK, Imagefield, etc.). A little bit of this has changed since I was involved. I'm guessing the actual display of the image after selection is being done through JQuery.
There are parts of the site that use attributes and some that use CCK. It's not a full integration between Ubercart and CCK to the extent I would like or could be accomplished. Some of the selections to toggle CCK elements are done with other CCK elements (checkboxes) and yes, there is some theme overrides and development.
Additionally, there are some custom coding to override default Ubercart behavior (example: textfield vs. textarea). This also comes into play with the second component you asked about. Again, there are things that I think were done well given the constraints, but I can also honestly say that I think there are far more robust and optimal solutions. In this case, the images are simply loaded from a particular folder based on a name match between the image file and the attribute name.
Really, I think there is room for an attribute image-related module for Ubercart. There are a couple out there, but they are aimed towards different goals. I'm thinking of one that swaps out the main product image when clicking on attributes.
I'm not sure I can say that the overall approach is the way to go if one is starting from scratch. Again, this involved very short time constraints and it was a recreation of something that already existed in another system that could no longer be used. The process of adding functionality for personalizing products can get really complex, you're right. At the same time, despite the weaknesses in Ubercart (and I will admit they are there; I just think fewer of them than most systems), there are still many things that can be accomplished.
And the next generation product with Drupal Commerce (7.x) will be exciting. It will leverage some of the Drupal API changes, in particular related to how products are defined and using the Field API - I think things like this will have better support in Drupal Commerce.
Good article for what it aims to teach: But what is really itching my mind is how you got the image selector to work in tandem with Ubercart? For anyone following along, I am referring to the seamless "browse image gallery to pick an image" experience at the bottom of the add to cart form.
Also of interest is the font selection radios (radio dial + images). Basic theme override here?
Something so complex to make burying pets so simple..
I think it is very relevant information to my work. Really nice stuff and full of new information. Right now i am searching some stuff regarding ccna questions which is i think really wonderful as for as future of an IT person is concerned. Me always searching such material due to my exams are over now. I want to specialize in some IT courses and above are best.
I can see how that would be really useful. This is certainly feasible, but it would probably take some coding or a custom module to do this. If you have Views installed, you can customize the catalog display easily. You might be able to get most of the way with what you described using the Views Bulk Operations module - and I found this VBO Development Guide.
Not sure if this is answered here but wondering if you can help.
I have a catalog of 130 products. All w/o pictures and all with order quantities of 1. I would like to have a list or grid that has a box to check to select that item and then a button at the bottom of the page to add all selected items to the cart.
Hi,
After several tests, I have to say I give up. I will regard these models as attribute and list them in a drop-down menu.
The Webform Productize module just give me an endless loop.
BTW, I broken my collarbone last weekend. With only one hand, it seems I become much more stupid and can not think about anything.
Crying:(((
I will be back on this issue when I am cured:))
You're welcome. And if you get going with the Webform Productize module and have a moment in the future, will you post again on it? I've been curious about that module, but I haven't had the time to really play around with it yet.
Hi,
It's very nice of you, admin.
I checked the Cart links module, even it's not the module I need right now, still many many thanks.
I will check the Ubercart Webform Productize module to see if I can realize that.
Cart links are literally links that can add products (etc.) to the shopping cart. For example, this link:
/cart/add/p1_q1?destination=cart
would add a 1 of Product ID 1 (and the product ID is the same as the node ID) to the shopping cart and then also re-direct to the cart.
I'm not necessarily sure that the approach I mentioned earlier is the best way, it's just one possible way. Using the approach with cart links would probably require some coding, and if you many products perhaps this isn't too manageable either. I'd have to think about this some more.
But, at least I wanted to answer more about cart links. Cart links is a separate module that comes with Ubercart but needs to be activated separately - it's under the Ubercart extras section.
Once activated, the settings are located under Store Administration -> Configuration and there is some more information on how cart links are created under:
A lot of blogs can benefit from your article on the Custom Node Content Module. You have even provided some valuable links as resource. Keep the good work.
Hi,
First, thank you very much for your reply.
Your understanding is absolutely right. Please see a picture here. http://drop.io/6dodckw
There are four products on this picture.
What I want to show is something like this; http://gets.cn/items.php?id=134376
We can see a form include the list of different products name on the lower-left part of this page include Crystal, Light Rose, Light Amethyst, and etc.
After click the Add to Cart button, they do have a field to let you input quantity.
For my picture, I want a list include 1371, 1374, 1375, 1376 listed on the product page as an option for the customers to pick.
I am not quite sure about what you mean “use cart links on a non-product node”. How to realize that? By CCK and Views? I tried to add a new content type with the fields I need, but I still can not find a way to interact with the shopping cart.
This question really bothers me for days. Can you give me some more specific instructions?
Thanks again for taking time.
If I am understanding correctly, you want customers to be able to purchase a number of different products from a single node which will have an image that includes these products all in the same photo. What if you were to use cart links on a non-product node instead? Would that work for you?
And you could still allow customers to purchase multiple quantities if needed. I don't know how the website you mentioned displayed the options since I haven't seen the site, but as an example, you could even include a simple script on the page that has the products as a drop down, a field for quantity, and then the submission button/link could include dynamic code that processes the two entries as a cart link.
Does this make sense? With a product node ID and quantity, if applicable, a cart link would add a product to the cart just like clicking on the submit button on a "regular" product node. If your products do have attributes, this might become a little more difficult to manage.
Hi,
Can you give me some instructions on how to describe mutil-products on a single photo in a single produce node?
Imagine there are million of products, and it's impossible to take pics one by one. So I bundle the products in a certain quantity, like ten, and take one pics.
Then I mark the products on the photo with the products name, like;
Product 001
Product 002
...........
Product 010
It's not attribute like size or weight, they are actually different products. I saw lots of business site taking pics this way and they have a form list below for customers to pick one model/type. How to realize it with drupal?
I tried to use webform,Webform Associate,Webform Productize modules to list different model, but two buttons show up on the product page. One is the add to card and the other is pick a model. The pick a model button do not affect the shopping cart after I click it.
Please give me some instructions, any help will be highly appreciated.
Yes, you can do this with product classes in Ubercart - so essentially you can set up more than one type of product in the system with specific field and defaults, etc. Each product class is a content type in the system. You can set up and work with product classes under Store Administration >> Products >> Manage Classes.
Do you know how to have products have different fields for different categories? e.g. In cat1 products have fields a,b,c while in cat2 products have fields x,y,c ?
Yes indeed i was using very bad template in my site no one didn't stay on it for just 1 min but when i change my templates visitor stay much longer that lead to increase in profit.
I changed the settings.php to add the www and cleared the cache, but still nothing. It's still trying to pull from http://example.com instead of http://www.example.com. Any insight is appreciated.
Thanks for the reply, Matt. I'd like to add to your explanation that one key to how the pet site passes that selected image back to the product selection page is by explicitly adding to the cookie in javascript. I'm not sure how keen I am on that, but I was just so happy to see a working example of a Drupal/Ubercart doing exactly what I am working on.
What I've got whipped up is a node template override that shows the product image + a selected image next to it (one day will be an imprint preview either thru imagecache or some other mojo) and a hidden attribute form whose value gets with the jquery click of an image in the gallery shown below in the embedded view.
Rambles.. I'll post about it once the site is live. Pretty excited stuff.
I might not be able to fully comment, but I'll try. The project in question involved some serious constraints on what could be accomplished. And it involved trying to replicate the functionality of another system in an extremely short time frame. So hopefully my memory serves me well - I've looked at some many projects since this one.
If I remember correctly on the first part, it originally involved Nodereference Explorer, but I'm not positive (and I haven't looked at this for a long time). The actual gallery is just done through Views (and CCK, Imagefield, etc.). A little bit of this has changed since I was involved. I'm guessing the actual display of the image after selection is being done through JQuery.
There are parts of the site that use attributes and some that use CCK. It's not a full integration between Ubercart and CCK to the extent I would like or could be accomplished. Some of the selections to toggle CCK elements are done with other CCK elements (checkboxes) and yes, there is some theme overrides and development.
Additionally, there are some custom coding to override default Ubercart behavior (example: textfield vs. textarea). This also comes into play with the second component you asked about. Again, there are things that I think were done well given the constraints, but I can also honestly say that I think there are far more robust and optimal solutions. In this case, the images are simply loaded from a particular folder based on a name match between the image file and the attribute name.
Really, I think there is room for an attribute image-related module for Ubercart. There are a couple out there, but they are aimed towards different goals. I'm thinking of one that swaps out the main product image when clicking on attributes.
I'm not sure I can say that the overall approach is the way to go if one is starting from scratch. Again, this involved very short time constraints and it was a recreation of something that already existed in another system that could no longer be used. The process of adding functionality for personalizing products can get really complex, you're right. At the same time, despite the weaknesses in Ubercart (and I will admit they are there; I just think fewer of them than most systems), there are still many things that can be accomplished.
And the next generation product with Drupal Commerce (7.x) will be exciting. It will leverage some of the Drupal API changes, in particular related to how products are defined and using the Field API - I think things like this will have better support in Drupal Commerce.
Good article for what it aims to teach: But what is really itching my mind is how you got the image selector to work in tandem with Ubercart? For anyone following along, I am referring to the seamless "browse image gallery to pick an image" experience at the bottom of the add to cart form.
Also of interest is the font selection radios (radio dial + images). Basic theme override here?
Something so complex to make burying pets so simple..
It is a kind of crazy to design a template for drupal.
Not as easy as wordpress
__________________________________
bali web design
I think it is very relevant information to my work. Really nice stuff and full of new information. Right now i am searching some stuff regarding ccna questions which is i think really wonderful as for as future of an IT person is concerned. Me always searching such material due to my exams are over now. I want to specialize in some IT courses and above are best.
Hi Brian,
I can see how that would be really useful. This is certainly feasible, but it would probably take some coding or a custom module to do this. If you have Views installed, you can customize the catalog display easily. You might be able to get most of the way with what you described using the Views Bulk Operations module - and I found this VBO Development Guide.
- Matt
Not sure if this is answered here but wondering if you can help.
I have a catalog of 130 products. All w/o pictures and all with order quantities of 1. I would like to have a list or grid that has a box to check to select that item and then a button at the bottom of the page to add all selected items to the cart.
Let me know your opinion about doing this.
thanks
Hi,
After several tests, I have to say I give up. I will regard these models as attribute and list them in a drop-down menu.
The Webform Productize module just give me an endless loop.
BTW, I broken my collarbone last weekend. With only one hand, it seems I become much more stupid and can not think about anything.
Crying:(((
I will be back on this issue when I am cured:))
You're welcome. And if you get going with the Webform Productize module and have a moment in the future, will you post again on it? I've been curious about that module, but I haven't had the time to really play around with it yet.
Its really useful Post. I am loving Drupal more and more as i am getting to know it better.. Thank you for the nice Post…
SEO in Dubai
Hi,
It's very nice of you, admin.
I checked the Cart links module, even it's not the module I need right now, still many many thanks.
I will check the Ubercart Webform Productize module to see if I can realize that.
Hy, very interesting & informative blog, gud job done. thanks
Hi,
Cart links are literally links that can add products (etc.) to the shopping cart. For example, this link:
/cart/add/p1_q1?destination=cart
would add a 1 of Product ID 1 (and the product ID is the same as the node ID) to the shopping cart and then also re-direct to the cart.
I'm not necessarily sure that the approach I mentioned earlier is the best way, it's just one possible way. Using the approach with cart links would probably require some coding, and if you many products perhaps this isn't too manageable either. I'd have to think about this some more.
But, at least I wanted to answer more about cart links. Cart links is a separate module that comes with Ubercart but needs to be activated separately - it's under the Ubercart extras section.
Once activated, the settings are located under Store Administration -> Configuration and there is some more information on how cart links are created under:
admin/store/help/cart_links
A lot of blogs can benefit from your article on the Custom Node Content Module. You have even provided some valuable links as resource. Keep the good work.
__________________________________
- Jani Essay Topiw
Hi,
First, thank you very much for your reply.
Your understanding is absolutely right. Please see a picture here.
http://drop.io/6dodckw
There are four products on this picture.
What I want to show is something like this;
http://gets.cn/items.php?id=134376
We can see a form include the list of different products name on the lower-left part of this page include Crystal, Light Rose, Light Amethyst, and etc.
After click the Add to Cart button, they do have a field to let you input quantity.
For my picture, I want a list include 1371, 1374, 1375, 1376 listed on the product page as an option for the customers to pick.
I am not quite sure about what you mean “use cart links on a non-product node”. How to realize that? By CCK and Views? I tried to add a new content type with the fields I need, but I still can not find a way to interact with the shopping cart.
This question really bothers me for days. Can you give me some more specific instructions?
Thanks again for taking time.
Hi Carlos,
If I am understanding correctly, you want customers to be able to purchase a number of different products from a single node which will have an image that includes these products all in the same photo. What if you were to use cart links on a non-product node instead? Would that work for you?
And you could still allow customers to purchase multiple quantities if needed. I don't know how the website you mentioned displayed the options since I haven't seen the site, but as an example, you could even include a simple script on the page that has the products as a drop down, a field for quantity, and then the submission button/link could include dynamic code that processes the two entries as a cart link.
Does this make sense? With a product node ID and quantity, if applicable, a cart link would add a product to the cart just like clicking on the submit button on a "regular" product node. If your products do have attributes, this might become a little more difficult to manage.
Hi,
Can you give me some instructions on how to describe mutil-products on a single photo in a single produce node?
Imagine there are million of products, and it's impossible to take pics one by one. So I bundle the products in a certain quantity, like ten, and take one pics.
Then I mark the products on the photo with the products name, like;
Product 001
Product 002
...........
Product 010
It's not attribute like size or weight, they are actually different products. I saw lots of business site taking pics this way and they have a form list below for customers to pick one model/type. How to realize it with drupal?
I tried to use webform,Webform Associate,Webform Productize modules to list different model, but two buttons show up on the product page. One is the add to card and the other is pick a model. The pick a model button do not affect the shopping cart after I click it.
Please give me some instructions, any help will be highly appreciated.
Very good post, thanks a lot.
Hi Mukesh,
Yes, you can do this with product classes in Ubercart - so essentially you can set up more than one type of product in the system with specific field and defaults, etc. Each product class is a content type in the system. You can set up and work with product classes under Store Administration >> Products >> Manage Classes.
Because youy views can NOT overwrite "core" ubercart code and don't run ok:
http://drupalsn.com/learn-drupal/drupal-questions/question-4319
http://www.ubercart.org/forum/support/7133/catalog_table_display_issues
http://www.commerceguys.com/resources/articles/123
Hi,
Do you know how to have products have different fields for different categories? e.g. In cat1 products have fields a,b,c while in cat2 products have fields x,y,c ?
Thanks in advance for the help.
Thanks,
Mukesh
Yes indeed i was using very bad template in my site no one didn't stay on it for just 1 min but when i change my templates visitor stay much longer that lead to increase in profit.
Website Design
Hi Matt,
Do you have the base URL line in our settings.php file commented or uncommented?
I changed the settings.php to add the www and cleared the cache, but still nothing. It's still trying to pull from http://example.com instead of http://www.example.com. Any insight is appreciated.
Thanks!
Hi Pieter, thank you for pointing out the issue with a previous comment on this post. It has been removed. - Matt