VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: piru on May 24, 2013, 10:42:23 AM

Title: Products by "sort", sku number and category view
Post by: piru on May 24, 2013, 10:42:23 AM
I have 3 Questions:

1) In the Category Listing I see all categories, but I see under the categories the products too. How can I make if I want to see only the categories, without products? I want to see the products when I click the category
2) I want to sort the products by "sort", I can make this in the properties for products sort, but I can not write a sort number in the product. In the category there is a field "sort" (I think in english is sort), and I can sort the categories by "sort", it works. How can I give a sort number to the products?
3) I want to show the product number (sku) in the product listing and in the product details, can I check it somewhere? Or I have to change the code like this:
components\com_virtuemart\views\productdetails\tmpl\default.php  <?php echo $this->product->product_sku.' - '; ?>
components\com_virtuemart\views\category\tmpl\default.php  <?php echo JHTML::link($product->link$product->product_name).' - '.$product->product_sku?>

Thanks!

Joomla 2.5.11
VM 2.0.20b
Title: Re: Products by "sort", sku number and category view
Post by: piru on May 24, 2013, 11:35:33 AM
I just change my language and can explaine better the punkt 2)

2) In Product Sort Order Settings - Default product sort order I want to use "Ordering". But I have not a column "ordering" by products, to write an order number. In categories there is not a problem, there is a column "ordering"
Title: Re: Products by "sort", sku number and category view
Post by: piru on May 27, 2013, 12:58:58 PM
nobody knows some answer?  :-[
Title: Re: Products by "sort", sku number and category view
Post by: jenkinhill on May 27, 2013, 16:28:22 PM
People don't often get answered when they as more than one question at a time.

1. You mean in the front end? Then it is a template issue, ask in http://forum.virtuemart.net/index.php?board=130.0 
People need a url to see what the problem is.

2. You can't enter a number, but in the new version under final testing you can drag and drop categories and products to re-order them. http://forum.virtuemart.net/index.php?topic=115877.0

3. Again a templating problem as you need to make template overrides containing the SKU display code (eg <?php echo $this->product->product_sku ?> )
Title: Re: Products by "sort", sku number and category view
Post by: piru on May 28, 2013, 10:10:27 AM
I´m sorry, I thought is better and don´t open a lot o toppics, now I know this  :)
Thank you for your answers