Recent Posts

Pages: [1] 2 3 ... 10
1
That's awesome - thanks John!
Nick
2
I've got a site that has Virtuemart on it. For the menu item that is the Virtuemart Front Page item, instead of loading the Joomla Template Style that is assigned as the default template, it's instead loading the template, but without the style settings for the default template assigned on the site.

As such, it's reverted to the base style of that template, which has the wrong colours and various features that have been turned off on the default style.

All of the other pages on Virtuemart load the correct template.

Any ideas as to fix/workaround? I think I've seen this in the past but couldn't find a solution at the time, or I've been unable to find the solution in the meanwhile.

Template is a JoomlaBamboo Build.r template
VM: 3.0.16
Joomla: 3.5.1
PHP: 5.5
3
General Questions / Re: add search field / search box
« Last post by jenkinhill on Yesterday at 23:18:08 »
You mean like the VM - Search in Shop module? It does have configuration options.
4
General Questions / add search field / search box
« Last post by buzzbored on Yesterday at 22:43:38 »
hello, on a page displaying all products there is Browse-view, ordeby-displaynumber, vm-order-list classes. This shows a sort by and manufacturer select options. I would like to know if you can add a regular search bar to search for a specific product there.
5
General Questions / Re: Fixed deposit ammount
« Last post by GJC Web Design on Yesterday at 22:39:19 »
Yes...  with a bit of fiddling

maybe a 100% discount and a std. payment plug set at €10 fee

display the before discount price.. something like that
6
General Questions / Re: Versioning and Stability
« Last post by Milbo on Yesterday at 20:47:30 »
We follow mainly semver.org, which is also somewhere described
7
General Questions / Fixed deposit ammount
« Last post by zheekan on Yesterday at 19:16:31 »
I need to create a shop where you will be able to choose the products you want and only pay a fixed deposit in the amount of 10€ no matter what the final price is (it will always be higher then the deposit). The rest of the price will be payed on spot when the customer comes to our shop to pick up the products.
Is this possible?
8
<h2><?php echo  $product->product_name; ?></h2>

you could google a bit of html 101.....
9
this is the code for the product
Code: [Select]
// Show Products
?>
<div class="product floatleft<?php echo $Browsecellwidth $show_vertical_separator ?>">
<div class="spacer">
<div class="width30 floatleft center">
   
<?php

echo $product->images[0]->displayMediaThumb('class="browseProductImage"'false);
?>

</a>

<!-- The "Average Customer Rating" Part -->
<?php // Output: Average Product Rating
if ($this->showRating) {
$maxrating VmConfig::get('vm_maximum_rating_scale'5);

if (empty($product->rating)) {
?>

<span class="vote"><?php echo JText::_('COM_VIRTUEMART_RATING') . ' ' JText::_('COM_VIRTUEMART_UNRATED'?></span>
<?php
} else {
$ratingwidth $product->rating 12//I don't use round as percetntage with works perfect, as for me
?>

<span class="vote">
                                <?php echo JText::_('COM_VIRTUEMART_RATING') . ' ' round($product->rating) . '/' $maxrating?><br/>
                                <span title=" <?php echo (JText::_("COM_VIRTUEMART_RATING_TITLE") . round($product->rating) . '/' $maxrating?>" class="category-ratingbox" style="display:inline-block;">
                                    <span class="stars-orange" style="width:<?php echo $ratingwidth.'px'?>">
                                    </span>
                                </span>
                            </span>
<?php
}
}
if ( VmConfig::get ('display_stock'1)) { ?>

<!-- if (!VmConfig::get('use_as_catalog') and !(VmConfig::get('stockhandle','none')=='none')){?> -->
<div class="paddingtop8">
<span class="vmicon vm2-<?php echo $product->stock->stock_level ?>" title="<?php echo $product->stock->stock_tip ?>"></span>
<span class="stock-level"><?php echo JText::('COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_TITLE_TIP'?></span>
</div>
<?php ?>
</div>

<div class="width70 floatright">

<h2><?php echo JHTML::link ($product->link$product->product_name); ?></h2>

<?php
// xcms...
// print product custom fields in category view
if (!empty($product->customfields)) {
?>

<div class="product-fields">
<?php
$custom_title null;
foreach ($product->customfields as $field) {
if ( $field->is_hidden //OSP http://forum.virtuemart.net/index.php?topic=99320.0
continue;
if ($field->display) {
?>

<div class="product-field product-field-type-<?php echo $field->field_type ?>">
<?php if ($field->custom_title != $custom_title && $field->show_title) { ?>
<span class="product-fields-title" ><?php echo JText::_($field->custom_title); ?></span>
<?php
if ($field->custom_tip)
echo JHTML::tooltip($field->custom_tipJText::_($field->custom_title), 'tooltip.png');
  }
?>

<span class="product-field-display"><?php echo $field->display ?></span>
<span class="product-field-desc"><?php echo jText::_($field->custom_field_desc?></span>
</div>
<?php
$custom_title $field->custom_title;
}
}
?>

</div>
<?php
}
// ...xcms
?>


<?php
// xcms...
// Product Short Description is hidden
if (false) :
?>

<?php // Product Short Description
if (!empty($product->product_s_desc)) {
?>

<p class="product_s_desc">
<?php echo shopFunctionsF::limitStringByWord ($product->product_s_desc40'...'?>
</p>
<?php ?>
<?php
endif;
// ...xcms
?>


<div class="product-price marginbottom12" id="productPrice<?php echo $product->virtuemart_product_id ?>">
<?php
if ($this->show_prices == '1') {
if ($product->prices['salesPrice']<=and VmConfig::get ('askprice'1) and  !$product->images[0]->file_is_downloadable) {
echo JText::('COM_VIRTUEMART_PRODUCT_ASKPRICE');
}
//todo add config settings
if ($this->showBasePrice) {
echo $this->currency->createPriceDiv ('basePrice''COM_VIRTUEMART_PRODUCT_BASEPRICE'$product->prices);
echo $this->currency->createPriceDiv ('basePriceVariant''COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT'$product->prices);
}
echo $this->currency->createPriceDiv ('variantModification''COM_VIRTUEMART_PRODUCT_VARIANT_MOD'$product->prices);
if (round($product->prices['basePriceWithTax'],$this->currency->_priceConfig['salesPrice'][1]) != $product->prices['salesPrice']) {
echo '<div class="price-crossed" >' $this->currency->createPriceDiv ('basePriceWithTax''COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX'$product->prices) . "</div>";
}
if (round($product->prices['salesPriceWithDiscount'],$this->currency->_priceConfig['salesPrice'][1]) != $product->prices['salesPrice']) {
echo $this->currency->createPriceDiv ('salesPriceWithDiscount''COM_VIRTUEMART_PRODUCT_SALESPRICE_WITH_DISCOUNT'$product->prices);
}
echo $this->currency->createPriceDiv ('salesPrice''COM_VIRTUEMART_PRODUCT_SALESPRICE'$product->prices);
if ($product->prices['discountedPriceWithoutTax'] != $product->prices['priceWithoutTax']) {
echo $this->currency->createPriceDiv ('discountedPriceWithoutTax''COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX'$product->prices);
} else {
echo $this->currency->createPriceDiv ('priceWithoutTax''COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX'$product->prices);
}
echo $this->currency->createPriceDiv ('discountAmount''COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT'$product->prices);
echo $this->currency->createPriceDiv ('taxAmount''COM_VIRTUEMART_PRODUCT_TAX_AMOUNT'$product->prices);
$unitPriceDescription JText::sprintf ('COM_VIRTUEMART_PRODUCT_UNITPRICE'$product->product_unit);
echo $this->currency->createPriceDiv ('unitPrice'$unitPriceDescription$product->prices);
?>


</div>



</div>
<div class="clear"></div>
</div>
<!-- end of spacer -->
</div> <!-- end of product -->

i have removed the link form the thumb. But not for the title.
Any suggestions?
10
   <!--<a title="<?php echo $product->product_name ?>"  href="<?php echo $product->link; ?>">-->
                  <?php

                     echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
                  ?>
               <!-- </a>-->
Pages: [1] 2 3 ... 10