- Posts: 10
- Thank you received: 0
I need some small changes in templates
- Fane Avram
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
12 years 10 months ago - 12 years 10 months ago #1462
by Fane Avram
I need some small changes in templates was created by Fane Avram
Hello!
I need some small changes in templates if is possible.
I want to see in product details Product Weight and Product Unit.
Can you help me please ?
Thank you
I need some small changes in templates if is possible.
I want to see in product details Product Weight and Product Unit.
Can you help me please ?
Thank you
Last edit: 12 years 10 months ago by Fane Avram.
Please Log in or Create an account to join the conversation.
- Linh Robert
-
- Offline
- Banned
-
Less
More
- Posts: 908
- Thank you received: 568
12 years 10 months ago #1465
by Linh Robert
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Replied by Linh Robert on topic Re: I need some small changes in templates
Hi,
Just do this:
In Virtuemart backend, just add custom fields for those(unit, weight) and in product edit, put the value for them.
Thanks
Just do this:
In Virtuemart backend, just add custom fields for those(unit, weight) and in product edit, put the value for them.
Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Please Log in or Create an account to join the conversation.
- Fane Avram
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 10
- Thank you received: 0
12 years 10 months ago #1467
by Fane Avram
Replied by Fane Avram on topic Re: I need some small changes in templates
Thank you.
I found this code to add default.php from templates/ot_petshop/html/com_virtuemart/productdetails
</br>
<?php //Product Weight
if (!(($this->product->product_weight)==0)) { ?>
<span class="product-fields-title" >
<?php echo JText::_('Greutate: ') ?>
</span>
<?php echo $this->product->product_weight ?>
<?php echo JText::_(' ') ?>
<?php echo $this->product->product_weight_uom; ?>
<br>
<span class="product-fields-title" >
<?php echo JText::_('Disponibil la: ') ?>
</span>
<?php echo $this->product->product_unit; ?>
<?php } ?>
I found this code to add default.php from templates/ot_petshop/html/com_virtuemart/productdetails
</br>
<?php //Product Weight
if (!(($this->product->product_weight)==0)) { ?>
<span class="product-fields-title" >
<?php echo JText::_('Greutate: ') ?>
</span>
<?php echo $this->product->product_weight ?>
<?php echo JText::_(' ') ?>
<?php echo $this->product->product_weight_uom; ?>
<br>
<span class="product-fields-title" >
<?php echo JText::_('Disponibil la: ') ?>
</span>
<?php echo $this->product->product_unit; ?>
<?php } ?>
Please Log in or Create an account to join the conversation.
Time to create page: 0.191 seconds