Osclass forums
Support forums => old => Topic started by: abhilashsnair on December 21, 2015, 07:04:30 am
-
I added a cutom field Mobine Number in My installation, No i ant to display that number on right sidebar , I tried oc-contents /benderblack/item-sidebar.php
but i dont kno the shortcode to write there , please help
-
Hi,
Where exactly in the sidebar do you want that custom field placed? After Name, for instance? ???
Regards
-
Before contact form
-
Insert this code at the bottom of your bender_black/item-sidebar.php:
<script type="text/javascript">
$(document).ready(function(){
phone = $(".meta strong:contains('[Your custom field name]')");
$("#error_list").before(phone.parents('.meta').css('padding-bottom', '10px'));
phone.css('font-weight', 'normal');
});
</script>
And replace [Your custom field name] with the real name of your Mobile Phone custom field.
Regards
-
hi,
Someone please help me in adding custom field in ‘General Information’.
When I add a custom filed its displaying in ‘Seller's information’
Regards
RK
-
yes we can do that man, we can do that if you have a little php code knowledge.