MultivendorX
-
AuthorPosts
-
-
October 16, 2023 at 3:36 AM #197239escatechafricaParticipant
hello how do i remove the Catalog visibility: Shop and search results; from the products editing template, please watch the image below.
i did the template overriding but the part i am not able to edit it to suit my needs, please can you help..?
$MVX->template->get_template( ‘vendor-dashboard/product-manager/views/html-product-highlights.php’, array( ‘self’ => $self, ‘product_object’ => $product_object, ‘post’ => $post, ‘is_update’ => $is_ ) );
-
October 16, 2023 at 12:54 PM #197250Sangita Support SquadKeymaster
Hello @escatechafrica
To remove catalog visibility dropdown option remove line 170-182 from html-product-highlights.php
You need to follow the below mentioned overriding path to override the html-product-highlights.php template –
yourtheme/MultiVendorX/vendor-dashboard/product-manager/views/html-product-highlights.php
If you need any further assistance please let us know. -
October 17, 2023 at 11:09 AM #197272escatechafricaParticipant
thank you it has worked.
my second question how do i take off material drop-down sort button. i want customers to search for what they want. please watch the image below to understand me. -
October 17, 2023 at 5:57 PM #197284Sangita Support SquadKeymaster
@escatechafrica you need to override the order-sort.php template file and remove the line no 65.
You need to override the template file following the below overriding path –
yourtheme/MultiVendorX/shortcode/vendor-list/order-sort.php -
October 18, 2023 at 11:06 AM #197294escatechafricaParticipant
hello i followed the path to override the template (overriding path –
yourtheme/MultiVendorX/shortcode/vendor-list/order-sort.php) but it did not work. when i remove other lines of code i see the changes i want to see, but removing line 65 does not solve the problem. the template overriding is working fine at my end. however, when i remove line 65 the category by material does not work.what i really want to achieve is to help customers search for the kind of materials they want.
-
October 18, 2023 at 6:16 PM #197306Sangita Support SquadKeymaster
@escatechafrica Once you have removed the line no. 65 from order-sort.php template file, this section (https://prnt.sc/l7RVZK7PEo_3) will be removed from the page.
Now if you want to give option to your users to search for a product on the site you can simply use the MVX:Vendor product search (https://prnt.sc/RHgbeThNJYKr) widget to add that option for the users. -
December 18, 2023 at 10:07 AM #215241Sangita Support SquadKeymaster
Its been long and we have not heard back from you. we presume your query is resolved now. We are closing this thread. If you need help or face issue in future please create a new support ticket.
-
-
AuthorPosts
The topic ‘Edit products template’ is closed to new replies.