News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Price: ? <Solved>

Started by pinjosi, October 12, 2011, 14:37:58 PM

Previous topic - Next topic

pinjosi

If you look at my website:

http://giftshop.wucompany.nl

and look at the test product i have put in, you will see Prijs/Price: and Salesprice/Verkoopprijs:

How can i remove price:/prijs:

tnx already for the thinking

dsrpmedia

I am having the same problem - how do you remove the redundant 'Price:' header in the product details page?

Milbo

I cant see the error, I think it is connected to your nl language file, afaik there is alreay a new one available
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

dsrpmedia

I think perhaps I am not explaining the problem very clearly - see attached screenshot

The 'Price:' which I circled is being generated dynamically from somewhere - it serves no purpose & I would like to remove it

the other 'Price:' used to be 'Sales Price', I edited in the language file

[attachment cleanup by admin]

dsrpmedia

ok I think I figured it out

I commented out the lines
if ($this->product->product_unit && VmConfig::get ( 'vm_price_show_packaging_pricelabel' )) {

echo "<strong>" . JText::_ ( 'COM_VIRTUEMART_CART_PRICE_PER_UNIT' ) . ' (' . $this->product->product_unit . "):</strong>";

} else {

echo "<strong>" . JText::_ ( 'COM_VIRTUEMART_CART_PRICE' ) . ": </strong>";

}


on the productdetails/default.php file & the redundant 'Price: was removed, everything else seems to be working

pinjosi

can you gimme the path to the file please.

Tnx for your response

PRO

com_virtuemart/views/productdetails/tmp/default.php

else {
               echo "<strong>" . JText::_ ( 'COM_VIRTUEMART_CART_PRICE' ) . ": </strong>";
            }

PRO

Milbo The price layout etc. would be a lot easier to manage if it were in its own template

Milbo

We will change that, should be depended by product not storewide and there is an hardcoded : in it, ihh :-)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Quote from: BanquetTables.pro on October 13, 2011, 16:30:16 PM
Milbo The price layout etc. would be a lot easier to manage if it were in its own template
What do you mean with that? what is the price layout for you? When I know that, then I know if our ideas why we did it that way are valid :-)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

PRO

A separate include template file to use from category, or product details, and even the modules.

its a lot of code repeated in category/default.php , and productdetails/default.php

It would be easier to manage customizations, and updates to

<?php include price.php :?>

The review form, and reviews could be that way too.

pinjosi

#11
tnx for the path. It worked here