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

TOPIC: custom field on custom position

custom field on custom position 11 years 1 week ago #4278

Dear,
the last request made ​​here on the forum, I did a bit of changes in the standard template without major problems, but for this I need your help.
I need to toggle between fields "producer" and "sku" I'm going to save the information in a custom field. I thought that assigning a position to nuoco field through css I could place it in the desired position.

That do you think is it possible?

in attachment an example where I change the position "ontop" with "onheader" and the custom filed is display in that position.

Attachment esempio.jpg not found




if you need more information I can send you by email the url of the website.

thanks you.
The topic has been locked.

custom field on custom position 11 years 1 week ago #4280

there are 2 default positions on our template..

ontop & onbot (in the desc tab)

if you want your own positioning then you have to add them in your template somewhere in the form
<?php if (!empty($this->product->customfieldsSorted['my-position'])) {
 
      $this->position='my-position';
 
      echo $this->loadTemplate('customfields');
 
   } 
 
   ?>
 
 

cheers
The topic has been locked.

custom field on custom position 11 years 1 week ago #4285

thank you very much!!
this is the custom that I needed!!
great template!!

thanks John
The topic has been locked.

custom field on custom position 11 years 1 week ago #4288

Excellent!

Topic closed
The topic has been locked.
Time to create page: 0.082 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