Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Horizontal Swatches VS. Vertical Swatches

Horizontal Swatches VS. Vertical Swatches

Locked

Views: 1,654

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
5 May 2007, 5:46 AM
#1
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Horizontal Swatches VS. Vertical Swatches

I am in the process of adding products to my site which have attributes options that require a swatch for each choice. My swatches for ink color choices are stacked on the page. I would like for them to be side by side as many as possible so that the user doen't have to scroll down to see them. Any suggestions would be great. Also is there a simpler way to handle mass product attributes? I use to use x-cart when working for another company running their website and I could enter many options at one time rather than enter 1 save enter another save......There has got to be a better way with Zen Cart, I do like the copy attribute feature, but many of my products each have unique attributes.

Look at the link below to see what I am refering to with both topics:
http://discountprintingservice.com/store/index.php?main_page=product_info&cPath=1&products_id=6

Thanks,
John
:book:

5 May 2007, 6:02 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Horizontal Swatches VS. Vertical Swatches

Easy Populate for adding multiple products and Attributes
Search forums..large thread discusses
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_41&products_id=114
Improved attibutes Controller in downloads section above..
Swatches..url below shows how swatches are normally listed
http://www.zen-cart.net/demo/index.php?main_page=product_info&cPath=23&products_id=84

5 May 2007, 6:27 AM
#3
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: Horizontal Swatches VS. Vertical Swatches

I see on your example that they are side by side, but I can't figure out why mine are stacked vertically. Anyone got a clue?

Thanks for the like on the attributes module I will try it out over the weekend.

5 May 2007, 6:34 AM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Horizontal Swatches VS. Vertical Swatches

I see on your example that they are side by side, but I can't figure out why mine are stacked vertically. Anyone got a clue?
Could be template you are using..switch template to Classic,
do swatches now show correctly......

28 Jun 2007, 4:21 PM
#5
jtcreate avatar

jtcreate

New Zenner

Join Date:
Mar 2007
Posts:
32
Plugin Contributions:
0

Re: Horizontal Swatches VS. Vertical Swatches

I have the same issue. It's set properly in the option name manager, and it is horizontal when viewed in the classic template.

So, something in my template is whacking it out and causing it to line up vertically, instead of horizontally (colors attribute).

I have gone backwards from the location in the attributes php file, and tried to locate the source of the problem, but it didn't work. Something, somewhere is overriding the form layout.

Anyone have any thoughts?

28 Jun 2007, 5:22 PM
#7
jtcreate avatar

jtcreate

New Zenner

Join Date:
Mar 2007
Posts:
32
Plugin Contributions:
0

Re: Horizontal Swatches VS. Vertical Swatches

Thanks. I read that one earlier... it's not quite what I want to do. That gets them hardcoded... I'd like them to remain set through the admin panel.

I am going through the styelsheet and code again to see if I can find the problem... any help is appreciated.

28 Jun 2007, 6:09 PM
#8
jtcreate avatar

jtcreate

New Zenner

Join Date:
Mar 2007
Posts:
32
Plugin Contributions:
0

Re: Horizontal Swatches VS. Vertical Swatches

I got it working! :smile:

I had to run an inline style in the attributes.php file. I first created an override for it, then added float:left on the radio button setup I am using (#4).

Now it works great!

The only odd thing about it is that there is already a float:left set up for the attribImg class.

But, hey. It's working. No complaints here.