Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Show product quantity (/showthread.php?t=7741)

feeriejade September 23rd, 2012 09:27 AM

Show product quantity
 
Store ID: 15mrzkn5ydfe1br0
Website URL: birds.mimizilla.com/store
URL to page in question: How to show product quantity

Hi,

Could you tell me how to show product's quantity on store front & category page?

THANKS
Feerie

Eric September 23rd, 2012 09:54 AM

Hi

There's no way to show it on your front page but you can use [category.pc] within your category page views.

Eric

feeriejade September 23rd, 2012 10:05 AM

Hi, Eric

How can I do """"[category.pc] within your category page views"""'?

Any code to add or replace?

THANKS
Feerie

Eric September 23rd, 2012 10:06 AM

Hi

Where do you want the total number of products in a category to appear on your category page?

Eric

feeriejade September 23rd, 2012 10:13 AM

Hi, Eric:

You said I cant have on this page????
http://birds.mimizilla.com/store


How about this page?
http://birds.mimizilla.com/store/cat...s-accessories/

and this page?
http://birds.mimizilla.com/store/cat...ddings-litter/


THANKS
Feerie

Eric September 23rd, 2012 10:14 AM

You are correct. But I need to know where on the page do you want the total number of products in a category to appear on a category page?

feeriejade September 23rd, 2012 10:21 AM

Hi, Eric:

I want the quantity behind the subcategory name

for
http://birds.mimizilla.com/store/cat...s-accessories/



BEDDINGS & LITTER (quantity)
BIRD BATHS (quantity)
CAGES & ACCESSORIES (quantity)
Birdcages (quantity)
Birdcage Covers (quantity)
Birdcage Stands (quantity)
Ladders (quantity)
Perches (quantity)
Nests (quantity)
Seed Guards & Catches (quantity)
Swings (quantity)
CARRIERS (quantity)
FEEDING & WATERING SUPPLIES (quantity)
FOOD (quantity)
HEALTH SUPPLIES (quantity)
TOYS (quantity)
TREATS (quantity)


THANKS
Feerie

Eric September 23rd, 2012 10:23 AM

Hi

That's your Category list widget. You can make the change here:

The Factory > Your Store > VIEWS > WIDGETS > Categories > Category list module

Add [category.pc] right after the [category.name] tag.

Eric

feeriejade September 23rd, 2012 10:40 AM

Hi, Eric:

It works. even on store front

http://birds.mimizilla.com/store
http://birds.mimizilla.com/store/cat...s-accessories/


But can I add ( ) , to separate from category name?

THANKS
Feerie

Eric September 23rd, 2012 10:59 AM

Sure: ([category.pc])

feeriejade September 23rd, 2012 11:10 AM

Hi, Eric.
Thanks

Can I show categories & subcategories BELOW on store front page
http://birds.mimizilla.com/store/cat...s-accessories/

and this page
http://birds.mimizilla.com/store/category/birdcages/

So shoppers can see more details subcategories to choose. Instead of click on category page then go to subcategory page, then maybe 3level subcategory page.


BEDDINGS & LITTER(139)
BIRD BATHS(135)
CAGES & ACCESSORIES(0)
Birdcages(1582)
Birdcage Covers(50)
Birdcage Stands(64)
Ladders(311)
Perches(764)
Nests(226)
Seed Guards & Catches(155)
Swings(335)
CARRIERS(67)
FEEDING & WATERING SUPPLIES(0)
Feeders(786)
Water Bottles(78)
FOOD(2703)
HEALTH SUPPLIES(108)
TOYS(1640)
TREATS(1135)

THANKS
Feerie

Eric September 23rd, 2012 12:03 PM

Hi

Sure, add the following code to a Category list module here: The Factory > Your Store > VIEWS > Store Front Page

HTML Code:

[category.list before='<ul>' after='</ul>']
<li>
  <a href="[category.link]" title="[category.name]">[category.name] ([category.pct])</a>
  [category.repeat]
</li>
[/category.list]

Eric

feeriejade September 23rd, 2012 09:31 PM

Hi, Eric:

My mistake, I want them show on the widget categories.

Thanks
Feerie

Eric September 23rd, 2012 10:18 PM

Hi

Then you just need to add the code I supplied above into your Categories widget in the Factory.

Eric

feeriejade September 23rd, 2012 10:29 PM

Hi, Eric:

It show double categories.

http://birds.mimizilla.com/store


feerie

Eric September 24th, 2012 08:53 AM

Hi

I mean you should add a new Category list module to your Store Front Page view and then add the code from about to that Category list module.

Eric

feeriejade September 25th, 2012 08:46 AM

Hi, Eric:


I DONT want to add a Category list module.

I want it show at the widget category. Is it possible?

THANKS
Feerie

Eric September 25th, 2012 08:49 AM

Hi

The Categories widget is exactly the same as showing the Category list module. There is no difference.

Eric

feeriejade September 25th, 2012 09:25 AM

Hi, Eric:

I mean I want to see the " Full tree" not Only parent categories when this page open, not when I click to choose subcategories on WIDGET.
http://birds.mimizilla.com/store

As you can see, "CAGES & ACCESSORIES" category have subcategory hiding, so the quantity shows (0), the quantities are only showing behind their children category name only after you click on it. It might misleading shopper think NOTHING in this parent categories.

Thanks
Feerie

Eric September 25th, 2012 09:29 AM

Hi

1. Go here: The Factory > Your Store > VIEWS > WIDGETS > Categories > Category list

2. Click the theme icon ( )

3. Replace everything you see with this code:
HTML Code:

[category.list before='<ul>' after='</ul>']
<li>
  <a href="[category.link]" title="[category.name]">[category.name] ([category.pct])</a>
  [category.repeat]
</li>
[/category.list]

4. Save

5. Click the [Update Settings Only] button on your site.

Eric


All times are GMT -5. The time now is 12:56 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.