Forums / General Questions / Document General

Document General

Locked

Started by astarkley on 10 Jul 2009, 4:14 AM · Views: 1,610

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
10 Jul 2009, 4:14 AM
#1
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

Document General

Is there a way to have a "general document product" generate a product viewed report ? Example when I create a "general product" I can look at products viewed in the admin panel and it will give me the number of the times the product has been viewed. I'd like that same report for general documents.

10 Jul 2009, 5:16 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Document General

Is there a way to have a "general document product" generate a product viewed report ? Example when I create a "general product" I can look at products viewed in the admin panel and it will give me the number of the times the product has been viewed.
They are included in this report along with music type

Zen-Venom Get Bitten

11 Jul 2009, 10:22 AM
#3
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

Re: Document General

When I first began putting products on my site I put them up as "product - general" I then switched to putting them up as "document - general" because the layout is better for what I'm doing however I began to notice that products listed as "product - general" have product viewed reports but products listed as "document - general" do not generate a number of times viewed number. Is it possible to have this report for "document general" listings?

11 Jul 2009, 5:47 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Document General

but products listed as "document - general" do not generate a number of times viewed numbe
I am using 1.3.8a - and the # viewed is represented for "Document General"

Zen-Venom Get Bitten

11 Jul 2009, 6:46 PM
#5
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

Re: Document General

Yes, I know but do you know if it's possible to get the same report for a "document general" listing ?

12 Jul 2009, 6:59 AM
#6
kobra avatar

kobra

Black Belt

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

Re: Document General

Yes, I know but do you know if it's possible to get the same report for a "document general" listing ?
Document General is included in the reporting...

Zen-Venom Get Bitten

13 Jul 2009, 12:18 PM
#7
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

Re: Document General

I'm running 1.3.8 and It seems the products I originally listed as "product - general" appear in the products viewed report but the ones I have added to the site as"document general" do not. I'm not sure why this happens; perhaps I have a setting issue?

13 Jul 2009, 3:03 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Document General

Actually, the information is collected in the datatbase but not displayed on the Best Products Viewed Report as most do not need to see those ...

This is based on the Product Types setting for does the Product get added to the cart ...

To alter the Report you can edit the file:
stats_products_viewed.php

and change this code:

// only show low stock on products that can be added to the cart
    if ($zc_products->get_allow_add_to_cart($products->fields['products_id']) == 'Y') {
      $rows++;
// only show low stock on products that can be added to the cart
    if (true || $zc_products->get_allow_add_to_cart($products->fields['products_id']) == 'Y') {
      $rows++;

And now all Product Types will be displayed, even if they cannot be added to the cart ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Jul 2009, 9:36 PM
#9
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

Re: Document General

Excellent, thank you very much.

1 Sep 2009, 8:56 PM
#10
btolly avatar

btolly

New Zenner

Join Date:
May 2009
Posts:
59
Plugin Contributions:
0

Re: Document General

Thanks also! This worked great for me too!

btolly