Hello all,
I have a bit of a tall order for what I'd like to do with my product listing pages, and although I have an advanced knowledge of html and css, (and proficiency with jquery/js and php), I wanted to ask the community for advice / suggestions.
First, I'll state the basics:
-I'm running zc 1.3.9h
-I am using a custom template
-I have installed the product grid module to display products in a grid
-I have customized files as suggested in this thread in order for my downloadable products to show the buy now / shopping cart button on product listing pages.
With that out of the way, here's what I'm hoping to do:
On my product listing pages, I would like to create a header (which would presumably take the place of the "filter results by" section) that provides a list of descriptions that the user could click / unclick to filter the products listed on that page. For example, my site provides stock images of people, and I'd like them to be able to filter the results by multiple variables, such as "men, women, children, teenagers, shoppers" etc.
From my knowledge of jquery, I figure if I'm able to add classes to the individual divs of the products, I can create toggle events where clicking a particular description (men, women, etc) would hide / unhide, or change the opacity of divs with the associated classes.
I assume I would have to create custom fields / properties for the products, within which I can list the css classes to be applied. I found this thread, which I think will be the answer to that.
The next step, and this is where I need the most help, is that I imagine that I would need to create a custom php call in my product listing files that echo the value entered in the newly created custom field. Does anyone have a suggestion for this?
The final thing: when users click the add to cart/ buy now button in the product listing, I don't want them to be directed away from the page, and would imagine that the add to cart/buy now button just changes somehow so the user knows it's been added. I found this thread but it isn't quite what I need. When someone clicks to add a product to the cart, it refreshes the current page, and there's no indication that a particular product has been added. Is there a way to set it so that the add to cart / buy now button indicates that the product is already in the cart?
I know this is a pretty extensive request... I really hope someone is able to help, because I think having this process illustrated in the steps required would be greatly beneficial to a lot of people.
Thanks!


Reply With Quote
