Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Drop Down Menus in Flexible Product Listing

Drop Down Menus in Flexible Product Listing

Locked

Views: 8,507

Results 21 to 34 of 34
This thread is locked. New replies are disabled.
4 Nov 2009, 10:53 PM
#21
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Drop Down Menus in Flexible Product Listing

The next version.

Just a few issues ironed out and more admin options covered.

14 Dec 2009, 3:46 PM
#22
briohny12 avatar

briohny12

New Zenner

Join Date:
Jun 2007
Posts:
48
Plugin Contributions:
0

Re: Drop Down Menus in Flexible Product Listing

Hi Niccol,

Any idea how I could get this to work with a text attribute instead of a dropdown?

14 Dec 2009, 5:37 PM
#23
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Drop Down Menus in Flexible Product Listing

I think it should work with any style of attribute as it basically uses the same attribute handling as the default zen cart and just puts them in a different place.

I haven't tried with a text attribute, to be honest but do not see the problem.

What is really going to help with regards to your present set up is a URL for the site that it is not working on.

If you do not want to post it then send it by PM.

12 Apr 2010, 2:44 PM
#24
davidiim avatar

davidiim

New Zenner

Join Date:
Mar 2010
Posts:
6
Plugin Contributions:
0

Re: Drop Down Menus in Flexible Product Listing

Where do I find the flexible_product_listing mod? I have searched around, but I can not find it.

28 Oct 2010, 5:58 PM
#26
creativeone avatar

creativeone

New Zenner

Join Date:
Mar 2005
Posts:
58
Plugin Contributions:
0

Re: Drop Down Menus in Flexible Product Listing

Wonderful addon. It is perfect for what I need. However, the buy now button goes nowhere. I installed Flexible Product Listing and then DDFP and can't figure out why the buy now button won't work. Any ideas? Thanks so much. Trying to get this site live tomorrow.
http://katyamusic.com/JOOMFRONT/store/index.php?main_page=index&cPath=3

28 Oct 2010, 6:34 PM
#27
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Drop Down Menus in Flexible Product Listing

Gosh, I think I said this in an earlier post - I haven't thought about this for a while :-)

Yes, the answer is that you don't have the start of the <form> appearing in your page. Basically what the mod does is create a form for each product. The buy now is the submit for that form. Without the form nothing is submitted to nowhere !

I would guess that it is because you are using 'columns' which I never did. I'd need to go back and look at the code. Also, which version of zen are you using. This was very much a bit of work for a specific store which ran on 1.3.8a.

Let me know and I will have a look at it but can't promise anything before tomorrow! Also just try setting the display to rows and see what happens out of interest.

Nick

28 Oct 2010, 6:41 PM
#28
creativeone avatar

creativeone

New Zenner

Join Date:
Mar 2005
Posts:
58
Plugin Contributions:
0

Re: Drop Down Menus in Flexible Product Listing

Thanks for the quick response. We are using v1.3.9g. I wish I was using 1.3.8a again. Too many issues with 1.3.9 it seems

When I switch to rows the buy now button works great. But it doesn't have the column look my picky client wants.

28 Oct 2010, 6:54 PM
#29
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Drop Down Menus in Flexible Product Listing

Attach your copy of product_listing.php to a post and I'll try and have a look at it. (you'll have to zip it first)

Nick

28 Oct 2010, 7:38 PM
#31
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Drop Down Menus in Flexible Product Listing

OK. As i said I have my own time pressures with a site going live on Monday, but try this:

In product_listing.php

line 348 ish looks like:

      $list_box_contents[$rows][$column] = array('params' => 'class="centerBoxContentsProducts centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
                                                 'text'  => $lc_text);

change it to:

      $list_box_contents[$rows][$column] = array('params' => 'class="centerBoxContentsProducts centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
                                                 'text'  => $lc_text, 
						'form' => $lc_form);

obviously back eveything up first as this is seat of pants type coding going on :-)

28 Oct 2010, 8:28 PM
#32
creativeone avatar

creativeone

New Zenner

Join Date:
Mar 2005
Posts:
58
Plugin Contributions:
0

Re: Drop Down Menus in Flexible Product Listing

You are amazing!!! Thank you so much for taking time to help with this. It works great now!

28 Oct 2010, 8:44 PM
#33
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Drop Down Menus in Flexible Product Listing

Just glad that it works for you.:smile:

listen, this bit of code was written for a specific site and its specific settings originally so was never thoroughly tested with all settings. You found a set of circumstances that broke it so just check it really really thoroughly to make sure there are no more elephant traps lying in wait.

28 Oct 2010, 9:03 PM
#34
creativeone avatar

creativeone

New Zenner

Join Date:
Mar 2005
Posts:
58
Plugin Contributions:
0

Re: Drop Down Menus in Flexible Product Listing

Ok. Thanks again.