News:

Support the VirtueMart project and become a member

Main Menu

Custom Entry above Price

Started by hendrikdebeer, October 22, 2018, 15:51:09 PM

Previous topic - Next topic

hendrikdebeer

Good day

Does anybody know if it is possible to move a custom field between the product name and the price?

My customer wants to have the Size & Weight where the ratings are. See attached image to explain.


StefanSTS

Search in the generating code for something like

echo shopFunctionsF::renderVmSubLayout('customfields',array('product'=>$this->product,'position'=>'ontop'));

You can add your own position in your template.

Replace the ontop with "myspecialposition" and use that name for position in the custom field properties.

echo shopFunctionsF::renderVmSubLayout('customfields',array('product'=>$this->product,'position'=>'myspecialposition'));

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.