[Solved] Product custom fields with stock control - Options don't show

Started by jjk, October 28, 2011, 17:46:34 PM

Previous topic - Next topic

jjk

J1.7.2/VM2 revision 4579
When using 'Product custom fields with stock control' - 'Select a plugin' - 'VM - Custom, stockable variants' and enter several options in the 'Option List', in the frontend product details view only the first line shows in the drop down list. Can anybody confirm this?

Update:
Disregard this - I finally figured out how it works :-)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

thekalle

It would be nice when you find out what's wrong that you explain how you managed it for the other people who're having the same problem.

corymp

VM 2.0.4 Stable
J2.5.4

TBoele

Quote from: corymp on March 20, 2012, 12:41:15 PM
I've been making some progress on this.

Read through this thread -> http://forum.virtuemart.net/index.php?topic=90833.0

Great job. But are you also going to describe your last steps in the template override, for example category and product pages ?

corymp

/templates/yourtemplate/html/com_virtuemart/category/default.php

You will be using the short description as the product name on the category page....

If there is no short description, it will display the product title like normal

You will then lose the short description, so it would be wise to comment out the lines that displays it under the product image as well


<?php /*  If Short Desc is set change Product Title to Short Description     */ ?>
<h2><?php // Product Short Description
if (!empty($product->product_s_desc)) {
   echo JHTML::link($product->link$product->product_s_desc);

else {
   echo JHTML::link($product->link$product->product_name);
?>

</h2>
VM 2.0.4 Stable
J2.5.4