Home Forums WoodMart support forum Вкладки

Вкладки

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #427432

    suzdaleva
    Participant

    Добрый день!

    У меня установлен вот такой макет страницы товара. Внизу есть вкладки. Можно ли их менять местами? В настройках не смогла найти, может не там ищу

    Attachments:
    You must be logged in to view attached files.
    #427626

    Hello,

    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

    #428864

    suzdaleva
    Participant

    Добрый день!

    Меня заинтересовал Ваш способ изменения порядка вкладок (Documentation: https://woocommerce.com/document/editing-product-data-tabs/#section-3). Но я к сожалению не знаю как мне это сделать. Куда войти чтоб изменить этот код. У меня будут дополнительные вкладки с содержанием и системными требованиями, хотела чтоб отзывы были самыми последними, а по умолчанию отзывы получаются перед ними.

    #428997

    Hello,

    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’s functions.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.jpg

    Best Regards

    #429005

    suzdaleva
    Participant

    Большое спасибо за ответ!

    Скажите пожалуйста, можно ли как то прописать чтоб отзывы всегда были последние? Даже при добавлении других вкладок (в карточке товара, в разделе Tabs) хотелось бы чтоб отзывы уходили на последнее место после них

    #429123

    Hello,

    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

    #429498

    suzdaleva
    Participant

    Добрый день!

    В карточке некоторых товаров woocoomerce, в разделе Product Setting (custom metabox from theme), Tabs, у меня созданы вкладки. Помимо тех основных, что в едином макете страницы, дополнительно я создала вкладку Отзывы в разделе Single product, Tabs (html block), в надежде что она будет последняя в списке. Почему эта вкладка не оказывается последней созданной? Она снова встает перед теми, кто был создан до нее, неужели никак нельзя сделать ее последней.

    #429542

    Hello,

    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

    #429554

    suzdaleva
    Participant

    Да, наверно оно так и есть. Я к сожалению не могу сделать глобальные вкладки (иначе они будут для всех продуктов) 🙁 , а у меня только к некоторым товарам, по этому и ставлю их в определенных продуктах в разделе карточки товара (custom).

    #429574

    Hello,

    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

    #429581

    suzdaleva
    Participant

    Прошу прощения, я не совсем понятно вам написала. Я могу делать глобальные вкладки. Они работают, все в порядке. Я имела в виду что мне в данный момент не подходит включение глобальных вкладок, т.к они будут отображаться на всех страницах товара. По этому я использую вкладки из раздела custom. А оказывается, global вкладки всегда будут отображаться раньше чем custom. Придется думать, либо от вкладки отзывы отказаться, либо будет в середине где то, что выглядит странновато 🙂

    Aizaz Imtiaz Awan спасибо вам.

    #429737

    Most 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.

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Вкладки’ is closed to new replies.