Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FashionMart (SKU# FLEX-00008)

TOPIC: Full array of pricing descriptions

Full array of pricing descriptions 9 years 4 months ago #3183

No matter how few choices I select in the pricing tab, I get the full array of choices when the catalog view displays.
For example, I only want Sales price and tax, but I get:

Base price: $65.50
Base price for variant: $65.50
Sales price without tax: $65.50
Sales price: $70.74
Tax amount: $5.24

However, the shopping cart seems to have the correct choices in it.

Also, is there a way to get the SKU number to appear somewhere in the catalog view and/or the cart view?
What should I do?

Thank you.
The administrator has disabled public write access.

Full array of pricing descriptions 9 years 4 months ago #3284

hi,

What you meant by "catalog" view displays.

Did you mean "category browse page" or "product details page" ?

You should not be seeing "Base Price" if you deselect the "Base Price" option in the VM Configuration. Make sure you are using VM2.0.18a

If you just want show TAX and SalesPrice, then you should choose only these options:

Attachment Pasted_Image_3_14_13_10_36_PM.gif not found




To add SKU in the category browse page, the PHP line to print the SKU number is this:

For Category browse page:
<div class="ProductKU"><?php echo JTEXT::_('COM_VIRTUEMART_CART_SKU');?>: <?php echo $product->product_sku ?></div>

For product details page:
<div class="ProductKU"><?php echo JTEXT::_('COM_VIRTUEMART_CART_SKU');?>: <?php echo $this->product->product_sku ?></div>

The product details and category browse page PHP files are located here:
Category browse page:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/category/default.php
(default.php, defaultlist.php, flexv2.php, or flexv2list what ever you are currently using, there are 4 different category browse page layouts and you are using only one of them depends on what ever you chose from VM Configuration)

Product Details page:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/productdetails/default.php
(default.php or flexv2.php. There are 2 different product details page layouts and you are using only one of them depends on what ever you chose from VM Configuration)


Then you can stylize this SKU text with using the CSS and the .ProductKU class name. Something like;
.ProductKU {
text-size:10px;
}

Regards.
The administrator has disabled public write access.
Time to create page: 0.140 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo