Jump to content
Sign in to follow this  
oldschoo

Product Listing 3 Columns for v2.2 RC2a

Recommended Posts

How do I add the words "quantity" or "# in stock" before the actual quantity. Right now just shows the quantity count with no wording in front of it.

Share this post


Link to post
Share on other sites
How do I add the words "quantity" or "# in stock" before the actual quantity. Right now just shows the quantity count with no wording in front of it.

Hi

 

Try this

in includes/modules/product_listing.php

find

   case 'PRODUCT_LIST_QUANTITY':
		$lc_align = 'right';
		$lc_text = ' ' . $listing['products_quantity'] . ' ';
		break;

 

Change it to

				case 'PRODUCT_LIST_QUANTITY':
		$lc_align = 'right';
		$lc_text = ' Qty ' . $listing['products_quantity'] . ' ';
		break;

 

Steve

Edited by steve_s

Share this post


Link to post
Share on other sites
Hi

 

Try this

in includes/modules/product_listing.php

find

   case 'PRODUCT_LIST_QUANTITY':
		$lc_align = 'right';
		$lc_text = ' ' . $listing['products_quantity'] . ' ';
		break;

 

Change it to

				case 'PRODUCT_LIST_QUANTITY':
		$lc_align = 'right';
		$lc_text = ' Qty ' . $listing['products_quantity'] . ' ';
		break;

 

Steve

 

Thanks Steve - worked perfectly!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×