Tagged: x
-
AuthorPosts
-
January 12, 2017 at 4:31 pm #1327845
burakgok01ParticipantHello i have a question about designing to product page ill attached a picture i would like to add a small description
right side of the picture after cart button its looks like so empty i showed this place at number2 area on the pic.i know that under the picture there is a description tab but i dont want to use just this and i would like to use another menu top of the page i also showed that part on the pic. how can i do it could you help me please?January 12, 2017 at 10:34 pm #1328270
LelyModeratorHi There,
Thanks for posting in and giving us screenshot.
Assuming you do have child theme already, please copy _topbar.php from this folder wp-content\themes\x\framework\views\global to your child theme here: wp-content\themes\x-child\framework\views\global. Open the copied file and then add the following line of code:<?php if(x_is_product()){ echo apply_filters( 'woocommerce_short_description', $post->post_excerpt );} ?>
After this line(On line 17):
<p class="p-info"><?php echo x_get_option( 'x_topbar_content' ); ?></p>
Save and it should display the product short description on the upper left of the your product page.Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1327845 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
