6
Answers
Vote up!
0
Vote down!

Product comparison

Hi all,

I've currently got the latest version of drupal commerce installed as well as commerce_pricing_attributes module.

Thanks to the commerce_pricing_attributes module, i'm able to add attributes to a product and give each attribute different prices, click add to cart and the new sum is displayed in the cart total.

However i have hit a dilema, I'm trying to get 3 products to display side by side like this page http://www.tepilo.com/#packages-anc

I've tried creating different types of views with different base tables refering to the two modules listed above and still no luck.

But i get the strong feeling that commerce_pricing_attributes will definitely need some form of altering.

Any ideas on how to create a page like http://www.tepilo.com/#packages-anc ?

Hope this makes sense and thanks in advanced!

Asked by: ben lamptey
on December 31, 2014

6 Answers

Vote up!
0
Vote down!

Not sure if you needed dynamic or static.... here's a static one you can set in an entity..http://compareninja.com/ and link your add to cart button.

Answer by: garpy
Posted: Dec 31, 2014
Vote up!
0
Vote down!

thanks for the reply.

it doesn't look like it'll allow users to toggle product attributes nor update the price using AJAX or even link back to the product

Answer by: ben lamptey
Posted: Dec 31, 2014
Vote up!
0
Vote down!

Hi Ben,

Well there's probably as many ways to build this as there are developers. Although am not aware of a module or plugin to do this. Using what's available and some work here are some ideas.

One possible way would use the tool shared in comment one and link it using html to the check-out process.

If you need to show three products that could vary from visitor to visitor would build it an entirely different way using contexts or panels.

Another choice would be to create a new checkout page in the current process that contains one or the other of the aforementioned solutions. this might give a more polished finish to the UX.

Thanks for posting the question, got me thinking about different way to do this and it was helpful to research.

Answer by: garpy
Posted: Jan 4, 2015