Hello I have installed the Ecommerce module on a clean Drupal install and I was wondering if there was a way to make the "product listings" that Ecommerce lists to list horizontal instead of vertical? I cant find out how to do this in any of the settings. Thanks!

Comments

coreyp_1’s picture

Sorry, but there is no setting for this. It can be done easily with theming, however.

- Corey

mrjw’s picture

Could I get some assistance on how to do this then please? I've only used Drupal for the last week (Moved from PHPNuke 8.0)

darmstrong’s picture

my store: http://fablespinner.com/product
(it's imbedded in my site which requires a log in so you probably cannot see it without registering/logging in...)
I have a guest account set up.. username: guest -- password: guest

However, if you can see it... it's all horizontal and goes right off the page to the right and under my navbar.

If you get an answer from this person, please share!
I'm flabbergasted and there is just no config in the admin panel that lets you set rows/colums for product display
and you'd think that would be a no brainer addition to a shop face -- display options.

Go figure...

if you get any response, please let me know too, I'd really appreciate it.

Thanks.

coreyp_1’s picture

You need to override the function theme_product_view_collection(). Please see here (http://drupal.org/node/55126).

You can actually copy the function directly from the source (modules/ecommerce/product/product.module) as a starting point and modify it as needed.

You can probably get by with just modifying the $columns and $rows variables at the beginning of the function.

- Corey

darmstrong’s picture

thank you.