New Version: v079.1
What Does This Contrib Do:
• This contrib adds the ability to add the product description, product options & add to cart button to the category listing
in a row-style format. Complete with checklist or individual add to cart buttons.
Features:
• Checklist or Individual button styles for allowing quick adding of products to the cart
• Completely Separate tpl files based on checklist or individual. Leaving the default category.tpl file untouched.
• Can be completely enabled or disabled from admin
• Configurable to show product options
• Configurable to show product description
• Configurable character count for how much of the description you want on the category page, followed by “…”.
• Option to return back to the list instead of being redirected to cart to make it easier to add products to the cart quickly
• Optional javascript “Adding product(s) to cart” message. Message always stays centered on page no matter where the scroll bar is.
• Support for Option Weight & Stock contrib (but not required)
• CSS/DIV Designed
DEMO
DOWNLOAD
What Does This Contrib Do:
• This contrib adds the ability to add the product description, product options & add to cart button to the category listing
in a row-style format. Complete with checklist or individual add to cart buttons.
Features:
• Checklist or Individual button styles for allowing quick adding of products to the cart
• Completely Separate tpl files based on checklist or individual. Leaving the default category.tpl file untouched.
• Can be completely enabled or disabled from admin
• Configurable to show product options
• Configurable to show product description
• Configurable character count for how much of the description you want on the category page, followed by “…”.
• Option to return back to the list instead of being redirected to cart to make it easier to add products to the cart quickly
• Optional javascript “Adding product(s) to cart” message. Message always stays centered on page no matter where the scroll bar is.
• Support for Option Weight & Stock contrib (but not required)
• CSS/DIV Designed
DEMO
DOWNLOAD
Last edited by Qphoria on Sat Nov 01, 2008 9:09 am, edited 1 time in total.
Q, one day, when you are not busy, in 21 years years time,
Maybe apply r158 to this CLO and Options Weight .tpl(s)
ie change hard coding of css from eg
to
Also, is it possible to stop the page jumping to the top after add to cart with "individual"
On a category page with a long list of products, after the add to cart is clicked, the page jumps back to the top. I assume it's cos of a page refresh.
This makes it annoying as the buyer then has to scroll back down to the bottom and remember where he was.
I suppose the work-around is to have short pages or to use the checklist style
http://i384.photobucket.com/albums/oo28 ... ee_ani.gif[/img]
BTW - CS Cart have done the stop-jump so we should have it too, n'est pas
Maybe apply r158 to this CLO and Options Weight .tpl(s)
ie change hard coding of css from eg
Code: Select all
<link rel="stylesheet" type="text/css" href="catalog/template/default/css/product.css">
Code: Select all
<link rel="stylesheet" type="text/css" href="catalog/template/<?php echo $this->directory?>/css/product.css">
On a category page with a long list of products, after the add to cart is clicked, the page jumps back to the top. I assume it's cos of a page refresh.
This makes it annoying as the buyer then has to scroll back down to the bottom and remember where he was.
I suppose the work-around is to have short pages or to use the checklist style
http://i384.photobucket.com/albums/oo28 ... ee_ani.gif[/img]
BTW - CS Cart have done the stop-jump so we should have it too, n'est pas
Last edited by jty on Sat Nov 01, 2008 10:21 pm, edited 1 time in total.
I've seen it happen on other carts. There is a solution, thought I'm far too lowly skilled to have a clue.Qphoria wrote: open cart doesn't so im not sure if that is the reason clo does it too.
I went to cs-cart and they've managed to overcome the problem
I also noticed that they have a style where we can have both the add To Cart button and the checklist. Is that a form within a form. Can we do nested forms?
I'm just a trainee but I now know how to put pictures in herewhy didn't u catch that css bug earlier! slacker! what am I paying u for!?![]()
http://i384.photobucket.com/albums/oo28 ... nipooh.gif[/img]
Try this one. Using default install data and Firefox 3
1. Put Product 1, 2 and 3 to Category 1
2. Add an option to Product 2. (Leave Product 1's options)
3. Set CLO to use Checklist with Qty box
Now try and tick Product 2.
Product 1 can be ticked because it is first
Product 3 can be ticked because it has no options
Product 2 cannot be ticked
Try it in IE 7 and it works
Back to Admin and set Qty Box to 'No' > We can buy Product 2 now with Firefox
Problem is using Checklist + Qty Box + Product "with Options" + Firefox
Go figure
1. Put Product 1, 2 and 3 to Category 1
2. Add an option to Product 2. (Leave Product 1's options)
3. Set CLO to use Checklist with Qty box
Now try and tick Product 2.
Product 1 can be ticked because it is first
Product 3 can be ticked because it has no options
Product 2 cannot be ticked
Try it in IE 7 and it works
Back to Admin and set Qty Box to 'No' > We can buy Product 2 now with Firefox
Problem is using Checklist + Qty Box + Product "with Options" + Firefox
Go figure

CS-Cart is heavily javascripted. They actually have 1 form, as the checkbox form, and the individual add to cart buttons are actually javascript calls to submit the form. I could maybe try that too.jty wrote: I've seen it happen on other carts. There is a solution, thought I'm far too lowly skilled to have a clue.
I went to cs-cart and they've managed to overcome the problem
I also noticed that they have a style where we can have both the add To Cart button and the checklist. Is that a form within a form. Can we do nested forms?
The actual adding to cart is also done with ajax which is why the page doesn't refresh and shift to the top. I would assume frenchy cart does that too since it uses ajax.
But still the page refresh shouldn't really be sticking to the top unless a cookie or some kind of autofocus is happening. Ill look at it more.
Ill also try your case above and see what the problem is
Last edited by Qphoria on Sun Nov 02, 2008 4:21 am, edited 1 time in total.
jty wrote: Try this one. Using default install data and Firefox 3
1. Put Product 1, 2 and 3 to Category 1
2. Add an option to Product 2. (Leave Product 1's options)
3. Set CLO to use Checklist with Qty box
Now try and tick Product 2.
Product 1 can be ticked because it is first
Product 3 can be ticked because it has no options
Product 2 cannot be ticked
Try it in IE 7 and it works
Back to Admin and set Qty Box to 'No' > We can buy Product 2 now with Firefox
Problem is using Checklist + Qty Box + Product "with Options" + Firefox
Go figure![]()
I set my demo site as explained in your post.
I have no problem ticking any checkbox on that page, with or without the multi-item box on FF3
Maybe it's only with the Aussie "Firefoux"
It must be the French FirefouxQphoria wrote: Maybe it's only with the Aussie "Firefoux"
Your demo works for me so I did another test
Try this:
Keep your data as is but "turn off description"
With description > no problem
Without description > can't tick Product 2
It's like looking for a needle in a hay stack

------------
Did another test. It has to do with the description
With description turned on but the product has no description again > can't tick
I suspect it has to do with CSS, weird though it may sound
I'll check it out further later
Last edited by jty on Sun Nov 02, 2008 5:03 am, edited 1 time in total.
I found the fix.
The problem is because when there is no description, the qty box moves up and covers/overlaps the checkbox.
The result is that clicking on the checkbox > click on qty box instead
To fix it is a CSS issue. I have done it by making
In making weight: 40px >> the qty box no longer covers the checkbox.
What a dumb stupid problem
The problem is because when there is no description, the qty box moves up and covers/overlaps the checkbox.
The result is that clicking on the checkbox > click on qty box instead
To fix it is a CSS issue. I have done it by making
Code: Select all
.clo-qtybox {
position: relative;
font-size: 12px;
font-weight: bold;
[color=red]width: 40px;[/color]
margin: -40px 0 0 520px;
}
What a dumb stupid problem

Last edited by jty on Sun Nov 02, 2008 7:01 am, edited 1 time in total.
When there are no products in a category eg when it's a master category with sub cats, get an error undefined text_clo_notify_msg (seen in source)
I put
in the categories section of catalog.php to stop it complaining
I put
Code: Select all
$view->set('text_clo_notify_msg', ''); // for when no products in category
Hi
Great contribution! I am wondering how to remove the gap between the top of the image and the top of the description text as shown bellow. They are not lined up. I even removed fckeditor and inserted the descriptions in html, just incase that was the problem...
Adam
Great contribution! I am wondering how to remove the gap between the top of the image and the top of the description text as shown bellow. They are not lined up. I even removed fckeditor and inserted the descriptions in html, just incase that was the problem...
Adam
Last edited by adam777 on Wed Dec 10, 2008 1:05 am, edited 1 time in total.
UPDATE: v079.3
- Updated to use gethtml function
- Updated to use proper template reference for css file
Download
But that won't really fix your problem adam,
The height is possibly fixable by editing the clo.css file. Unfortunately, css design is my weakness. The fact that it looks as good (or bad) as it does, was just by luck.
- Updated to use gethtml function
- Updated to use proper template reference for css file
Download
But that won't really fix your problem adam,
The height is possibly fixable by editing the clo.css file. Unfortunately, css design is my weakness. The fact that it looks as good (or bad) as it does, was just by luck.
That's because I tested it and broke it many timesadam777 wrote: Great contribution!

You need to play around with the CSS. That gap may be from a <p tagI am wondering how to remove the gap between the top of the image and the top of the description text as shown bellow. They are not lined up. I even removed fckeditor and inserted the descriptions in html, just incase that was the problem...
Also make sure you check it on IE as well as Firefox. I found that Firefox and Opera behaved the same way but IE would have a mind of its own sometimes
Try playing with the margin style or was it the padding style
If you get a nice CSS, someone will appreciate your work. It took me days to o my CSS. Soryr, I can't hand it over cuz mine is so heavily modified that it would blow up the original.
@qphoria, thanks for the new version. Unfortunately, I'm not moving to RC4. I started to but the thought of all that work again was all too hard.
Last edited by jty on Wed Dec 10, 2008 2:52 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 1 guest