Home › Forums › WoodMart support forum › Вкладки
Вкладки
- This topic has 11 replies, 2 voices, and was last updated 2 years, 4 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 8, 2022 at 6:49 pm #427432
suzdalevaParticipantДобрый день!
У меня установлен вот такой макет страницы товара. Внизу есть вкладки. Можно ли их менять местами? В настройках не смогла найти, может не там ищу
Attachments:
You must be logged in to view attached files.December 9, 2022 at 1:35 pm #427626
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say but these Tabs can’t be swapped.
Only the three starting WooCommerce tabs here which are Description, Additional Information and Reviews tabs can be re-ordered following the WooCommerce Snippet way mentioned in the following WooCommerce Documentation: https://woocommerce.com/document/editing-product-data-tabs/#section-3
Other than these, the Custom Additional Tabs are added accordingly under the Theme Settings > Single Product > Tabs > Additional tabs: https://snipboard.io/RLkFam.jpg
Best Regards
December 14, 2022 at 5:36 pm #428864
suzdalevaParticipantДобрый день!
Меня заинтересовал Ваш способ изменения порядка вкладок (Documentation: https://woocommerce.com/document/editing-product-data-tabs/#section-3). Но я к сожалению не знаю как мне это сделать. Куда войти чтоб изменить этот код. У меня будут дополнительные вкладки с содержанием и системными требованиями, хотела чтоб отзывы были самыми последними, а по умолчанию отзывы получаются перед ними.
December 15, 2022 at 10:10 am #428997
Aizaz Imtiaz AwanKeymasterHello,
As it is mentioned in the WooCommerce Documentation link that we shared with you:
“You need to add the code to your Child Theme’s
functions.php
file. Please don’t add custom code directly to your Parent Theme’sfunctions.php
file as this will be wiped entirely when you update the Theme.”So, you need to do the above as mentioned. If you have currently Child Theme active on your Site, then you can go to Dashboard > Appearance > Theme file editor > there you can open the
functions.php
file from the sidebar > there you can paste the Code. Something like shown in the following Image: https://snipboard.io/CJ5U7E.jpgBest Regards
December 15, 2022 at 10:27 am #429005
suzdalevaParticipantБольшое спасибо за ответ!
Скажите пожалуйста, можно ли как то прописать чтоб отзывы всегда были последние? Даже при добавлении других вкладок (в карточке товара, в разделе Tabs) хотелось бы чтоб отзывы уходили на последнее место после них
December 15, 2022 at 4:36 pm #429123
Aizaz Imtiaz AwanKeymasterHello,
Actually, like we mentioned you earlier these 3 are default WooCommerce tabs for which you can change their order using the priority value defined in the earlier sent code.
For the other tabs of the Theme, they are shown in the order they are added under the Theme Settings > Single Product > Tabs > Additional Tabs.
Best Regards
December 17, 2022 at 9:21 am #429498
suzdalevaParticipantДобрый день!
В карточке некоторых товаров woocoomerce, в разделе Product Setting (custom metabox from theme), Tabs, у меня созданы вкладки. Помимо тех основных, что в едином макете страницы, дополнительно я создала вкладку Отзывы в разделе Single product, Tabs (html block), в надежде что она будет последняя в списке. Почему эта вкладка не оказывается последней созданной? Она снова встает перед теми, кто был создан до нее, неужели никак нельзя сделать ее последней.
December 17, 2022 at 1:34 pm #429542
Aizaz Imtiaz AwanKeymasterHello,
According to the Tabs priority confirmed from the Test Site, firstly three default WooCommerce Tabs appear which are Description, Additional Information and Reviews.
Then the Global Additional Tabs in order if they are defined and then the Custom tabs appear which are defined under the Product edit area: https://snipboard.io/qjOZLb.jpg
So, can you please confirm if the same structure is being followed on your Site or not?
Best Regards
December 17, 2022 at 2:51 pm #429554
suzdalevaParticipantДа, наверно оно так и есть. Я к сожалению не могу сделать глобальные вкладки (иначе они будут для всех продуктов) 🙁 , а у меня только к некоторым товарам, по этому и ставлю их в определенных продуктах в разделе карточки товара (custom).
December 17, 2022 at 4:18 pm #429574
Aizaz Imtiaz AwanKeymasterHello,
Sorry but we didn’t get you now. What exactly do you mean by can’t make global tabs?
Are you facing issues creating Global Tabs on your Site? Is that what you are referring to?
If kindly possible then please share one Video related to the concern(s) you are facing right now so that we can correctly understand and assist you accordingly.
Best Regards
December 17, 2022 at 4:37 pm #429581
suzdalevaParticipantПрошу прощения, я не совсем понятно вам написала. Я могу делать глобальные вкладки. Они работают, все в порядке. Я имела в виду что мне в данный момент не подходит включение глобальных вкладок, т.к они будут отображаться на всех страницах товара. По этому я использую вкладки из раздела custom. А оказывается, global вкладки всегда будут отображаться раньше чем custom. Придется думать, либо от вкладки отзывы отказаться, либо будет в середине где то, что выглядит странновато 🙂
Aizaz Imtiaz Awan спасибо вам.
December 19, 2022 at 8:34 am #429737
Aizaz Imtiaz AwanKeymasterMost Welcome!!!
Let us know if you need any further assistance from us in this regard. We are always there for your help !
Thanks for contacting us.
Have a great day.Topic Closed.
-
AuthorPosts
The topic ‘Вкладки’ is closed to new replies.
- You must be logged in to create new topics. Login / Register