I know this is a pretty broad questions but for learning purposes I'm trying to create a site similar to https://knockaround.com/shop/sunglasses/custom/custom-premium. I'm having trouble finding tutorials on how to accomplish this. I'm sure I can create the dropdowns to switch the images for the product, but where would I start when trying to pass the merged image to the cart? Also, I'm pretty sure the website uses Magento and Prototype JS. If someone could get me started in the right direction that would be great.
Thanks
Like this framework (http://fancyproductdesigner.com/), it must be merging the images on the server and created a single image saved with the cart entry.
You wouldn't pass the "merged image" to the cart, but rather the configuration. If you look at the hash on the page, it changes depending on the settings: #custom/3/6/13/259
So what you're passing the cart is "3/6/13/259"
Related
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.
I would appreciate any input here.
I have some php code that I've developed to import a csv file into a custom table in the Magento db and then compare this data with data in the sales_flat_order table and display a simple report.
I now need to add a link to this page in the Magento backend so the guys using the backend can find and use it easily.
I have a bit of experience with adding new Magento modules, but I was wondering if there is any easier way to just add the Magento backend look and feel to my php pages and add a new menu item linking to them?
It seems like a big bloated exercise to have to have to go through the process of adding a Magento module and to have to re-code everything now that its already done.
Any help would be very much appreciated!
Just pop your link in the header links - header.phtml in admin template folders. Job done, not elegant but why spend any longer on it?
I am building a very simple website ( http://driz.co.uk/beta/ ) using CakePHP to show a portfolio of my work as well a few pages such as about me and contact. I was thinking of just creating each item for my portfolio as a page inside the /views/pages/ folder but seen as I'm wanting to learn a bit about CakePHP I thought it would be probably better to use a database and store each item in a simple table.
What I need to do is have a simple page like /portfolio/ which lists all my work to date and then links to each item I have so for example /portfolio/my-awesome-work/
I also need to list the items in the sidebar as shown in the link.
For each portfolio item I will need a title, a body (which will store the content and images for each item) and also the client information. I don't need any image upload capabilities as I will be just adding the HTML for it in the database table.
If anyone can help it'd be much appreciated.
Thanks
Hopefully you aren't asking for a full solution (frowned upon on SO)
First follow the blog tutorial : http://book.cakephp.org/view/1528/Blog
This is a great place to start as it walks you through all the basics.
As for your particular problem. Creating a portfolios table with all the fields you mentioned and baking the code (you'll know what that means when you follow the tutorial) as a starting point will get you half way there.
You could also add in an admin area to manage your system. This would mean you'd need to create a users table and add the Auth component
I need your help to get to the right direction on tackling this problem. I have a list of products from different vendors stored in the database. I wanted to be able to search through it and be able to add specific products and create a "Parts Order List". I was thinking of it like a shopping cart. The user should be able to browse/search through the product list and add certain products to the "cart" and then later view and print it. I'm stuck on what language to use. I'm familiar with PHP but from reading online this is mostly possible using CGI. What do you guys think? Any other Ideas? (Hope I make sense.)
Thanks in advance!!
If you're familiar with PHP why not use PHP then? Is there some reason you want to abandon what you know already to try something else?
EDIT
This beginner php tutorial on how to build a cart will teach you all you need to know about creating a similar system for your needs using sessions: http://v3.thewatchmakerproject.com/journal/276/building-a-simple-php-shopping-cart
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.