magento 2 customer sidebar at admin tab remove the newsletter - tabs

how can I remove the 2 side tabs in customer tab at admin side please have a look in attachment
https://prnt.sc/s76tjx
<referenceBlock name="customer_edit_tab_view">
<referenceBlock name="customer.billing.agreement.grid" remove="true" /> <!-- Not working -->
<referenceBlock name="billing" remove="true" /> <!-- Not working -->
<referenceBlock name="billing-agreement" remove="true" /> <!-- Not working -->
</referenceBlock>
Thanks In advance

If I correctly understood your question, the easiest way to "remove" the newsletter (or whatever other section you want) without touching Magento's core files is to edit the user(s) roles. Thus, you can customize users permissions by role and create different roles for different users:
Go to System > User Roles and click on the respective role (e.g. Administrators)
Go to Role Resources and uncheck the Newsletter Section option under Stores. (If no resources are shown but a selector with All is selected, change it to Custom and then choose all resources but the ones you don't want)
After saving changes, unchecked resources are no longer available for users with this role.

Related

BigCommerce Lifestyle theme - add to cart show quickview instead of redirect to cart

i'm using the LifeStyle default theme for our bigcommerce based website, and i'm having difficulties figuring out how to use the quickview dialog instead of redirecting to the cart when I click dd to cart from the homepage (it works as I want it to from product section)
https://themes.psdcenter.com/theme-documentation/lifestyle-bigcommerce-theme-manual/
any help greatly appreciated!
looks like this is being set by a dynamic {{add_to_cart_url}} in the card.html file, found through templates > components > products. I agree that this information is not located in the docs by lifestyle developers.
You always have the option to reach out to the theme developers for some guidance/best practice advice from them directly when making this customization.
Some options to consider: You could write a script that overrides this default behavior, but that may not be the best route. You could also look at writing custom login in card.html specifically for the homepage. And based on card.html, it looks like to open quick view, the button has a class of 'quickview' which could be what's targeting the modal action. You could test with adding this class and making other modifications to the card.html. Search the card.html file for 'theme_settings.show_product_quick_view' to see how this works to help you achieve this on the homepage.

eBay search form

I'm working on a website for my work and it's for our eBay webpage. eBay no longer supports active content. So I had to remove our JS and active content but there is one bit of active content I can't remove. My search bar contains a form action which I guess will no longer be supported. I'm on mobile so I'll try to display HTML correctly in my question. Currently, I have:
<form name="frm" action="(store link)">
<input name="_nkw" class="inputbb" type="text" placeholder="search">
</form>
How can I link it to the store not using action?
eBay FAQs
I don't have an eBay store to play with, so can't give a full walkthrough answer, but found the following info in the eBay FAQs:
Can I use HTML to design my Store home page?
Yes. Store sellers can create a custom header with HTML just below the standard eBay Store header. In addition, Store sellers can build a completely customized Store home page using HTML. To take advantage of these customization opportunities, go to the Manage My Store page and click on "Store Design" in the left column. Sellers can also easily create links to their Store by using HTML Builder, located in the left column in Manage My Store.
You'll see that a couple of the terms used in that quote are linked to your store pages, so linking them here is unlikely to work.
Also, according to this resource:
Key elements in a Shop listing header
Your Shop listing header always includes your Shop name, a link to your Shop home page, and your Shop colours. You can also include:
* Your Shop logo
* A search box that enables buyers to search your Shop
* ...
Followed by:
Creating or editing your Shop listing header
* To create or edit your Shop listing header:
* Go to My eBay and log in if required.
* Click Manage My Shop in the left navigation.
* Click Listing Template in the left navigation.
And here's another resource with similar information.

Regarding WordPress custom homepage

This is more of a process question than coding. I have a custom homepage with logo, menu, footer similar to other pages. But there are few other contents which are different in the homepage, as usual, i.e, a title, a description div, a social links div and a few more, which are only in the home page.
Now the question is, since I want the admin to change this dynamically, how should I easily implement this for the site owner. Should I make a top-level menu named Homepage in WordPress dashboard and add all these meta boxes (with title, description, social fields) on that admin page so that he can fill this in from the back-end or make a custom post-type with the mentioned custom fields? Or should I add a menu under appearance with the relevant fields to be filled.
I am confused about the standard way. I am new to WordPress and just learning. This clarification will help me get a pre-idea. I completed the HTML and now converting the site to WordPress. Just give me a general overview please, nothing detail, I'll get the rest done. I would like to know the difference between the options mentioned above in a nut-shell (what is for what actually) and what is the standard way to add the custom home page fields for the site admin to input page contents easily.
Thanks in advance.
You would need to create a static front page.
https://codex.wordpress.org/Creating_a_Static_Front_Page
Basically you can create a standard page and then from wordpress customizer make that page a front page. Client will edit it from the back end just as any other standard page.

Netsuite How do you link sub-tab on home page to page/category?

I am editing a previously set up company web site with Netsuite. I would appreciate any assistance provided on how to link a presentation sub-tab to the appropriate category/page. The problem is this: The categories were set up and working great until the previous designer deleted a category. I have since recreated this category (named the same as before) but the presentation sub-tab (side navigation on the home page) does not link to it. The sub-tab currently says the category is no longer available. I have made sure that the category is set up like all of the other functioning categories-this leads me to believe it is something to do with defining the path from the sub-tab to the new category, but I cannot find anywhere to change this. I see where to link the main tabs, but not the sub-tabs coming off them. Any suggestions welcomed.
have you checked the common.css? Is it just the image that is being shown there because the css is shown? I have seen an issue with our homepage slider where even though the record is set to inactive, it is still invoked unless commented out on the homepage template. If you cannot find the category image being listed in the CSS nor in the template, then check the custom tabs on your customization setup - it could be hidden there. Is your category an image/button or a linked text css property?

Changing a pages "Title" changes it's name in the menu list

I have a menu in Sharepoint. In that menu is a list of about 5 pages. When I go to these "sub" pages, I edit their properties and change their title. However, this also changes the link name in the menu which is undesirable since the client wants titles like "About us | Hey hey hey | etc" for SEO reasons. If anyone could help that'd be awesome. Thanks.
I'm assuming that your menu behavior is because you are using MOSS 2007 with publishing features enabled, and the Include Pages check box checked in your navigation settings (Site Actions -> Site Settings -> Manage Navigation).
If this is so, SharePoint automatically provides links for pages for use in your global and current navigation, giving you options to position the link or hide it, as you choose.
To have more flexibility with the presentation of the link, uncheck "Include Pages", and add links manually. The trade-off is the extra keystrokes for more flexibility.
I hope this helps.