*

Maracheesh

  • *
  • 3 posts
Custom fields from listings near price
« on: June 30, 2020, 02:13:15 PM »
Hi there,somebody know why appear custom fields from listing near prices?
From listings->custom fields.
Custom fields are added via hooks.
I whant to make hooks to be separate from price.
A friend  told me custom fields and plugin data are shown at bottom of page.
If you moved it, restore your theme to original but i cannot because theme is personalized.
Somebody help me with that please
I added 2 pictures

*

MB Themes

Re: Custom fields from listings near price
« Reply #1 on: June 30, 2020, 04:41:22 PM »
@Maracheesh
hooks are not related to price at all, maybe you have modified something and moved hooks under price.
functions in hooks cannot be split, only alternative is not to use hook, but place function manually to theme files. This usually does not work as most of hooks are relative to category selection and are reloaded when category is changed.
Functions those output at publish/edit page are added via item_form hook, so you may search for line:
Code: [Select]
<?php osc_run_hook('item_form'); ?>
And move it into proper position in item-post.php or item-edit.php
Note that hooks manager plugin allows to reshuffle functions in hook (as this is not available in osclass by default), but does not allow to move or split hook itself.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots