Adding custom field inside vendor's 'edit vendor' page on DOKAN - dokan

I need to add custom field inside vendor's 'edit vendor' page on DOKAN.
Where is the hook to accomplish that?
Dokan - vendors - edit vendor
I mean here:

Related

shopify deeply nested menu, where to put?

Shopify, out of the box, only supports 3 levels deep menus (welcome to 2021).
What is a good approach to implement deeper nested menus?
things that come to mind:
manually sub-nest menus in the theme files.
E.g. create menu
MAIN
and another menu
MAIN1-LVL2
then put the MAIN1-LVL2 like so
MAIN -> MAIN1-LVL2
same with MAIN2-LVL2
Another approach I thought about putting the menu data into settings_data.json
Is there another good way to do that?
The usual way is to create a recursive snippet that will check if there is a menu dropdown OR an another menu with the same menu title and output the links.
So for example if you have:
Navigation Title: Main menu
- Home
- About
- - Company
- - History
- - - Link 1
- - - Link 2
- - People
- Contact
Navigation Title: Company
- Link 1
- Link 2
There will be a standard dropdown for the About and History, but Company will render the second menu called with the same name.
If you are worried that you will have name collision you can prefix the menu with dropdown- and the snippet will check if the navigation has the same title with the prefix.
This is how most premium themes handles mega menus in Shopify.

Add two dynamic checkout buttons on product page in Shopify?

I am new to Shopify and need to add two dynamic checkout buttons on product page.
That is, add one dynamic checkout button just above product description section and another dynamic checkout button just below product description section.
Is it possible to do this?
If so, how to add this?
I tried to add dynamic checkout button using the following code snippet:
{{ form | payment_button }}
So I added this code snippet inside "Add To Cart" form section and duplicated this form just below of product description section.
It worked like a charm for first section (above product description), but it didn't create buttons for second section (below product description).
I am not sure how to implement this feature.
Any advice would be much appreciated.

All Section Edit on Shopify Are Global - Shopify Debut Theme Customization

I tried following this guide to create an alternative template for customization.
https://shopify.dev/tutorials/customize-theme-create-alternate-templates
However, every single section edit I makee are global.
For example: I have two page template: pages.alternative1.liquid and pages.alternative2.liquid
Whenever I edit a section on a page with pages.alternative1.liquid, the same
edit affects the same section on pages.alternative2.liquid as well. Is this normal behavior from
Shopify? How should I edit the page then so that a change in one section
doesn't affect all template?
*Note: I am editing the Debut default theme
using Shopify editor: Theme => Customize
Best Regards
Yes this is a normal behavior.
Static sections ( they are the section that are called like so {% section 'your section' %} ) share content between them. This means that if you edit one anywhere it will update everywhere you use it.
On another hand section that are used on the homepage via the {{content_for_index}} tag are dynamic and you can create the same section with different content. (but only on the homepage or where the tag in question is present)
So if you like to have different content on the page a single section will not do you any good. You can create multiply sections with different names in order to use them on different pages, but if you have 5-10+ page it's not a viable option, since it will become too much of a cluster of section files.

How do I add a custom field to a Sitefinity widget?

I am trying to add a related image field in the news component that is provided by Sitefinity. How do I accomplish this?
Go to: Administration > Module Builder under the tools section of the dropdown. Scroll down to News Items and select it. Once inside it you will want to click on the news items under the modules contains header. From there you can scroll down and select: add a field. Select type related media and you can name it and set certain settings like if it is required.

How to implement "Add To Cart" button in bigcommerce

i am setting up my store on bigcommerce, i want to implement add to cart button on my custom home page can anyone tell me how can i add "Add to cart button" on three blocks below slider(In celebrate, bags, weddings section)? This is my store link http://eveningbags1.mybigcommerce.com/
Usually the best way to make an add to cart button on other pages or from other websites is to take the link the Bigcommerce uses for Category/Brand/Search pages. Works like this
site.com/cart.php?action=add&product_id={product_id}
To add a specific option/sku/variation to the cart, use this format
site.com/cart.php?action=add&sku={sku}
Thanks to #Alyss for the sku info