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.
Views: 8,507
Totally Zenned
The next version.
Just a few issues ironed out and more admin options covered.
New Zenner
Hi Niccol,
Any idea how I could get this to work with a text attribute instead of a dropdown?
Totally Zenned
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.
New Zenner
Where do I find the flexible_product_listing mod? I have searched around, but I can not find it.
Black Belt
New Zenner
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
Totally Zenned
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
New Zenner
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.
Totally Zenned
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
New Zenner
Wasn't sure if you needed product_listing or tpl_modules_product_listing so I am attaching both. Thanks for helping me.
Totally Zenned
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 :-)
New Zenner
You are amazing!!! Thank you so much for taking time to help with this. It works great now!
Totally Zenned
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.
New Zenner
Ok. Thanks again.
Tell staff why this post should be reviewed.