Hi, Greetings to all, I am trying to modify the mod_virtuemart_products and there are two things that I can not get, because apparently these properties is not configured or programmed for this module.
He explained:
I want on the product module, aparescan the rating and the final price, but I could not get it.
In another tute I read long ago on the shoping cart, which was not to present then everyone stood image code and then declaring variables and if you could put the image variable.
I think it could be like in this case, but I do not know programming and wanted to see if somebody around here to help me. I hope not to be too annoying with my order
ahh, sorry I use a google traslater.
Thank you.
Well not yet received an answer, but I found the solution and share it with those who need it, I found a template that has these qualities that they had spoken.
but like I said, I'm not a programmer, so here I leave the code to use it.
Greetings:
<?php $discont = $product->prices[discountAmount]; $discont = abs($discont); ?>
<?php if ($product->override == 1 && ($product->product_price_publish_down > 0)){?>
<?php if ($show_price) { ?>
<?php if ((!VmConfig::get('use_as_catalog', 0) and !empty($product->prices['salesPrice'])) && !$product->images[0]->file_is_downloadable) { ?>
<?php if ($product->prices['basePriceWithTax']>0 && $discont >0)
echo '<span class="WithoutTax">' . $currency->createPriceDiv('basePriceWithTax','',$product->prices,true) . '</span>';?>
<?php } ?>
<?php } ?>
<?php
if ($product->prices['salesPrice']>0)
echo '<span class="sales">' . $currency->createPriceDiv('salesPrice','',$product->prices,true) . '</span>';
} ?>