Drupal Commerce - Load drupal variations images instead of a select box - php

I am not a beginner with Drupal, but I am a beginner with Drupal Commerce. I have used Ubercart since this project.
Actually, If I create a product display, and then a few variations under this product, Drupal Commerce automatically creates select box with titles of the other variations. This is quite useful for almost all the e-shops, but not for this one. I need to replace select box with titles with just images, on which customer will be able to click on, and select variation type just by image.
I think that there is almost all the functionality in drupal commerce kickstart which I am using right now. But I do not know how to achieve the result. I have already tried editing product view, but was not able to make it working. I have also searched through core modules of drupal commerce in code, because I think that there should be just an array function with result of titles, but did not found something like this yet. I have searched whole internet to search for solution but did not found anything useful.
In some threads peoples use to solve similar problems with for example colors, to give the ability for customers to see the color squares instead of color select box, this is achieved by module, which some of devs written. Maybe I can edit this module?
Also, I have never ever created a module, I am a bit lost in drupal codes, but tried it before.
Here are the attachments for better vision:
http://ofca.sk/temp/printscreen.png,
http://ofca.sk/temp/result.png
Any advice will be greatly appreciated; I just need to be pointed to the right direction,

You can achieve this feature, the same way than Commerce Kickstart v2 does: http://demo.commerceguys.com/ck/tops/drupal-commerce-hoodie - note the color selector at the right middle.
This is done using Commerce fancy attributes module which allows you to render color or image selectors that come from a taxonomy:
This module provides a "Rendered term" attribute mode, that shows the rendered term instead of a radio button (degrades to a normal radio button when JS is off) on the add to cart form.
You've got a video demo of this module with a step by step to configure in http://vimeo.com/44308580

Thank you for an advice, but I still had not been able to make it working with fancy attributes module. I used another way using taxonomy and a few views, which done almost the same.
But I still think, It is achievable by Fancy Attributes.
Thank you again

I have created a module for this case: https://www.drupal.org/project/commerce_options_as_images
I use it on my projects.

Related

How to add vertical tabs (like the product page) to a custom magento admin form

There are many tutorials to adding extra tabs to the product page but I am struggling to find information on how I can create tabs on a new form from scratch. I have looked at the following resources but the information presented doesn't seem to be very clear or my magento isn't good enough to understand it yet:
http://www.excellencemagentoblog.com/module-development-series-magento-admin-module-part3
how to create multiple tab in magento custom module?
I am trying to emulate the tab system that runs vertically down the left side of the product section but on a custom form.
Are there any references out there on how this should be done (similar to the official magento one explaining how to create an admin module)?
p.s I haven't posted code as anything I have is directly from the tutorials.
I ended up working through the excellencemagentoblog version and have successfully got tabs working. The examples given aren't exactly straight forward unless you understand the magento structure really well but the information within the article is adequate enough to work through.

How to add multi-language support to opencart module

I've gotten pretty good at creating my own vqmods and it has allowed me to customize the cart to my heart's content. I am now at a point where I want to start supporting the other official language in my country.
I've searched and searched plus looked as some modules on the opencart extension store but still can't quite get a grasp on it. There are no posts that I could find in the support forums explaining how to go about achieving this. I have a module that creates a new tab on the product page. On this tab, I have use ckeditor to format the text and all works well.
I've seen it done where you go into a module to customize it and you can see extra buttons to add text for different languages. Just can't find any free modules that uses this so that I could muddle my way through making it work.
Can anyone help me to add multilanguage to my custom opencart modules?
I was able to figure it out by looking at another mod with language files in it.

Ecommerce application and solution

Here's my predicament. I'm working with a designer who has a very unique layout for his ecommerce site. It's kinda like a table/tier based system where you buy a certain amount of points. I need the ability to have user accounts etc and it will all be in joomla. There's many options such as magento, virtuamart etc. but basically what I'm saying is... will it be possible with any particular platform to transform the products so much so that can still use the platform? here's a screen shot...
http://www.one2designs.com/images/screen.png
Basically It needs to some way integrate into joomla, allow for user profiles etc, and I guess be so customizable that it can be transformed into that look.
Both Joomla and Virtuemart allow for 100% of customisation of the templates used. The process is simply:
Design
Cut and slice into HTML
Build Joomla template, product pages.
Further, the screenshot shows simply a list of 7 products, so either Table with 7 columns or a ul, li construct will work.
Is there anything else product wise you need to manage? It doesn't look like people will actually add more than 1 product to their "shopping cart", so a simple form manager like RSForm may achieve the same purpose. There are E-Commerce plugins for most newer form managers now and it should also not be too hard to link up third party payment gateways as a one off.
From the look of your image, that is simply a product with various options that are user selected. You would need to change the way the product options are displayed to fit the design, but other than the display, there is nothing unusual about a product with many options. Everything below the radio buttons is pretty much irrelevant as it is only option details. Virtuemart could be made to do this fairly easily.

Drupal 6 Layout issue

i have recently started to learn drupal 6. I dont have any previous experience with drupal.
I was asked to implement a page on existing drupal site with the following structure.
a sopping page which will have an thumbail size image with lable and a quantity text box. This pattern will repeat for 10 products. At the end of the page i should have a submit button which results in sending an email with product and quantity to dedicated email address.
If its just a form then i can use webform but the requirement is having an image for every product.
I am not sure how to implementn this...can someone guide me in the right direction please.
This is what i am trying to achieve(http://dontikurthi.com/sample.html)
thanks for the help in advance.
Cheers
R
For the image handling, I suggest ImageCache. If this is going to be a shop, use Ubercart. It's an extremely powerfull shop system with lots of functions and extensions.
It's hard to recommend a single way since Drupal offers many ways of doing it. I would go with CCK (let's you create your own content types with as many fields as you want) and/or Views (pulls data from many different areas of the database into viewable form, highly customizeable and on of the first modules to install together with CCK). Create a new content type with the help of CCK and create a view that displays this particular content type in a fashionable manner. That should get you pretty close to the image above.
When creating a form with webform, you add form components, and you can add "markup" type component: it describes itself as "Markup allows you to enter custom HTML or PHP logic into your form."
So, to add a picture above or below a form item, just add a markup and put the appropriate HTML in it.
eg <img src="http://localhost/picture.jpg " />

php product browser

I was wondering if anyone knows of a good script to manage a catalog of products. Just need basic stuff, like being able to browse by category and or tags and search. Without many extras, as I'd like to have it working inside a CMS.
softpedia has a few scripts, but I'm also considering creating it from scratch. Ideal would be something in between that allows a bit of customization and control of layout, but takes care of the backend. So adding editing and managing items should be simple.
any ideas?
--- edit ---
has anyone worked with http://www.oscommerce.com and can shed some light?
CubeCart is quite simplistic and easy to use, there's also osCommerce and Magento if your looking for a more advanced ecommerce system.
ZenCart is a popular solution, and free. Of course any (good) product listing app is going to be a shopping cart.
virtuemart may work out for you as well.. you can add it on top of joomla .. that way you would have a CMS to create and change the custom pages as well.. the other solutions are good too but they are more cart oriented.

Categories