Forums / Templates, Stylesheets, Page Layout / More Info Link on New Products Listing

More Info Link on New Products Listing

Locked

Started by ladyhlg on 22 Feb 2008, 6:47 PM · Views: 3,227

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
22 Feb 2008, 6:47 PM
#1
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

More Info Link on New Products Listing

As I understand it, the a "more info" link is supposed to show for each product in the new products listing when the Buy Now button is turned off, however that doesn't seem to be happening, and I am not sure why. I am wondering if there is some other admin setting that I am missing or is something else going on here?
Here is a link to the site - http://www.rusticurbanity.com/store

My admin settings under Configuration -> New Listing are as follows:

Display Product Image 1102
Display Product Quantity 0
Display Product Buy Now Button 0
Display Product Name 2101
Display Product Model 0
Display Product Manufacturer Name 0
Display Product Price 2402
Display Product Weight 0
Display Product Date Added 2601
Display Product Description 0
Display Product Display - Default Sort Order 6
Default Products New Group ID 21
Display Multiple Products Qty Box Status and Set Button Location 0
Mask Upcoming Products from being include as New Products 0

So what did I miss?

Thanks!
LadyHLG

22 Feb 2008, 6:52 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: More Info Link on New Products Listing

I selected bracelets and the more info showed???

Zen-Venom Get Bitten

22 Feb 2008, 7:00 PM
#3
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Re: More Info Link on New Products Listing

Yes, it shows on the individual product category pages, but not on the New Products page.

LadyHLG

22 Feb 2008, 7:14 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: More Info Link on New Products Listing

Display Product Buy Now Button 0
Set to other than "0"

Zen-Venom Get Bitten

22 Feb 2008, 7:22 PM
#5
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Re: More Info Link on New Products Listing

Ok, I tried all three options, and still nothing.
I left the current setting at 2.

LadyHLG

23 Feb 2008, 4:46 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: More Info Link on New Products Listing

Try "1300"

Zen-Venom Get Bitten

23 Feb 2008, 6:08 AM
#7
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Re: More Info Link on New Products Listing

Ok, I'm not sure if my understanding of this is 100% correct but here goes.
Looking at tpl_modules_products_new_listing.php at about line 100 is the code to create the more info link if the Display Product Buy Now Button config key is set to 0.

But the problem is further down at about line 120 and line 155 where the queries pull the config data.
Left side
$disp_sort_order = $db->Execute("select configuration_key, configuration_value from " . TABLE_CONFIGURATION . " where configuration_group_id='" . $group_id . "' and (configuration_value >= 1000 and configuration_value <= 1999) order by LPAD(configuration_value,11,0)");

and
Right side
$disp_sort_order = $db->Execute("select configuration_key, configuration_value from " . TABLE_CONFIGURATION . " where configuration_group_id='" . $group_id . "' and (configuration_value >= 2000 and configuration_value <= 2999) order by LPAD(configuration_value,11,0)");

Doesn't that mean that only the config values between 1000 and 1999 are pulled to create the displayed data on the left and the values between 2000 and 2999 to create the displayed data on the right. Since we set the config value to 0 it wont be displaying any info for the PRODUCT_NEW_BUY_NOW config value?

So setting it to 0 is supposed to create the more info link but it also excludes that record from the queries that would actually create the output. Does that make any kind of sense?

Its late and I am tired, I might be completely wrong here, so please tell me if I am not reading this correctly. My php skills are not top notch but I can usually follow along fairly well.

Thanks again for the help,
LadyHLG

23 Feb 2008, 6:12 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: More Info Link on New Products Listing

Unless you have changed the files - leave them out of this...

Set admin > config > new listing > Display Product Buy Now Button > to 1300

Zen-Venom Get Bitten

23 Feb 2008, 6:25 AM
#9
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Re: More Info Link on New Products Listing

Setting Display Product Buy Now Button to 1300 turns on the BUY NOW button.

23 Feb 2008, 6:37 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: More Info Link on New Products Listing

Buy now is for items that have no attributes and "more info" is for items that require additional input to make a complete purchase - i.e. with selectable attributes

Zen-Venom Get Bitten

23 Feb 2008, 2:22 PM
#11
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Re: More Info Link on New Products Listing

So its not possible to just have the more info link the same way it appears on the product categories listings?

23 Feb 2008, 2:34 PM
#12
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: More Info Link on New Products Listing

LadyHLG:

So its not possible to just have the more info link the same way it appears on the product categories listings?

http://www.zen-cart.com/forum/showthread.php?t=84174&highlight=single+listing
Done forget to read the entire thread, there are bug fixes here and there.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

23 Feb 2008, 3:25 PM
#13
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Re: More Info Link on New Products Listing

That looks like an interesting option, I will have to try that out.
Thank-you!

LadyHLG

23 Feb 2008, 5:24 PM
#14
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: More Info Link on New Products Listing

Nice tutorial by yellow to standardize but you asked

So its not possible to just have the more info link the same way it appears on the product categories listings?
And this what I thought you were trying all along and product listing uses the same logic
kobra:

Buy now is for items that have no attributes and "more info" is for items that require additional input to make a complete purchase - i.e. with selectable attributes
And "more" is only displayed in place of buy/add where required

Zen-Venom Get Bitten