Questions tagged [link]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14
votes
2answers
35k views

Magento 2 get base url (current store) in admin static block/page?

How can I get (current store) Base Url in CMS block/page in Magento 2? Actually, I am displaying category names in the footer by using static block. For that how can I give the Category Url links in ...
8
votes
2answers
272 views

store_url does not render link correctly

I am using this link in my static CMS block <a href="{{store_url='produkte/insektenschutz/fenster/spannrahmen.html'}}"> but it renders as https://www.mysite.de/produkte/insektenschutz/fenster/ ...
7
votes
3answers
6k views

How can I use a link in string to translate at Magento 2?

In Magento 1 I use this code: <?php echo $this->__('some <a href="%s">text here</a>', Mage::getUrl('some/url/here')); ?> How can I use in Magento 2?
6
votes
2answers
7k views

How to add custom link in main menu in Magento 2?

I want to add CMS pages and Contact page link in the main menu. How to add these links in the main menu and their submenu as well?
5
votes
4answers
5k views

Magento 2 How to add Home link in navigation bar!

How can i link my home page in the navigation bar(Home) button?
5
votes
2answers
2k views

Magento2 admin panel, open an url in new tab using window.open

Below codes opens the link in same window, how can I change it to open it in new tab? if ($canModify) { $data = [ 'label' => __('Login As Customer'), '...
3
votes
2answers
2k views

In Customer Account Dashboard Page i have added link

I have Created a link in account dashboard it is visible as shown in screen shot below when I click on the link it is showing just like these in the screenshot below http://www.awesomescreenshot....
3
votes
1answer
65 views

Moving header links in Magento 1.9

I need to move header links in header. For example I need that link "log in" to be first. How I can do this?
3
votes
1answer
703 views

How to Add a “picture” Link next to the logo in the Header?

I am in charge of a Magento website created by a former guy and I followed this tutorial to add a new Picture Link in my header : https://kamaradski.com/831/how-to-add-a-picture-link-in-magento-...
3
votes
1answer
581 views

Add new link to customer account page

I tried to add new link in the customer account link sidebar with add code below in customer_account.xml with my custom module. customer_account.xml : <referenceBlock name="...
3
votes
3answers
884 views

Magento 2 : Remove Top Links When Customer Not Logged In

I would like to remove My Account link from top links, when customer is not logged in. How do I achieve it via XML layout files?
3
votes
1answer
312 views

magento 2.3.1 “Catalog Category Link” widget blank

I am trying to use the following widget: {{widget type="Magento\Catalog\Block\Category\Widget\Link" anchor_text="ewrrewq" title="rqewrqrq" template="category/widget/link/link_block.phtml" id_path="...
3
votes
0answers
29 views

How to use outer link? [closed]

I'd like to open other website page using outer link. For example, when I write a code like this google it doesn't work. Just 404 page opened. If I open google page, do I have to use another code?
3
votes
0answers
64 views

Google craws errors of links that don't, and Never existed

In the last couple of days I'm having trouble with Googlebot crawlers. I've experienced an increased of 404 links that don't exist, and have never existed. Trying to see the origin of these 404 ...
2
votes
1answer
2k views

Custom grid - Remove link on rows

I have a custom grid, that get data from my custom database. Right now it is linking is dead and i will get a 404-not found. Is there a way to remove the link on the rows?
2
votes
3answers
1k views

Remove “Reorder” Link from customer side

How to remove "Reorder" link from customer's Account "My order tab" and also from Order view page of Customer. I want to do this from customer's account. Admin can reorder from back end. Magento ...
2
votes
1answer
552 views

How to disable link in telephone phone number in address book?

Using magento 2.2, I want to remove link from phone number in address book. Not allow user click on number.
2
votes
2answers
151 views

Link of image is not working in magento 2

I added one Image with a link. Now link is showing up in the console but nothing happens when I click on Image. here is my code <a href="{{config path="web/secure/base_url"}}manufacturers-listing/...
2
votes
2answers
3k views

Magento 2 - How to change position of Sign in and My Account link?

How can i move account creation link and sign in link after the search box. Need Help
2
votes
1answer
73 views

call a single page from two different link in magento

I added two link on index page.Both are redirecting to same registration page. I want,when someone click on "SELLER" then "Do You Want To Become Seller / Vendor?" this should not display. How can i ...
2
votes
1answer
785 views

Add the hreflang in link for each category

i have using the same url for different languages. <reference name="head"> <action method="addLinkRel"> <rel>alternatve</rel> <href>https://www.example....
2
votes
1answer
946 views

Open footer block link in new tab/window

I've customized one of the footer link blocks within Magento 2's Luma theme in the default.xml file (htdocs/app/design/frontend/Ouho/outwardhound/Magento_Theme/layout/default.xml) with an external ...
2
votes
1answer
1k views

Magento 2: How to use an image within a link

Attaching a link to an image is not an uncommon action to take, and I'm trying to accomplish this within the default.xml of my theme. We have a static image of a google maps location, and we want it ...
2
votes
1answer
34 views

Transfering demo magento shop to old magento and connect with the database

I am working on a magento website from client and I am not a coder, this is my first magento website. I know it sounds confusing just by looking at the title, so let me elaborate you on this. I got a ...
2
votes
0answers
90 views

Removing links from header [closed]

<div class="page-wrapper"><header class="page-header"><div class="panel wrapper"><div class="panel header"><ul class="header links"> <li class="greet welcome" ...
2
votes
1answer
814 views

Add link to customer account navigation based on Customer Group

I'd like to add a link to 'customer_account_navigation' block, but add it only to customers who belong to Wholesale customer group. Is that possible? Any suggestions? local.xml: <customer_account&...
1
vote
2answers
196 views

Remove Links From Account Dashboard [duplicate]

What is a good way to remove some links from the account dashboard? Mostly: My Downloadable Products My Applications Billing Agreements Recurring Profiles I did some Googling and searched the "...
1
vote
1answer
1k views

Change Account login text to icon, standard magento or any other

Where do I start if I want to update the text of login on the frontend to a icon? I have installed grunt, downloaded the css libraries and icon sets but Im stuck. A hint? I also wonder how I can ...
1
vote
2answers
523 views

page/template_links block not behaving; aParams missing and url deformed

I've inserted a links block to the footer via local.xml: <reference name="footer"> <block type="page/template_links" name="footer.social.links" as="footerSocialLinks"> ...
1
vote
1answer
446 views

How to add href to custom attribute in customer grid?

I have created the custom attribute to upload the business proof file during registration. I am able to store the file in /pub/media and file name in Database and the file name also displaying in ...
1
vote
1answer
330 views

How to add custom column as link in sales order grid in magento 2

I wish to add a column as link in sales order grid. While clicking the link, I wish to perform some logic, I have reffered the below link for magento 1 which is based on layout grid add button inside ...
1
vote
1answer
187 views

Add new link in my account (Magento 2)

I am trying to add refer a friend link in the customer account page. I followed these links. Add new link to customer account page Magento 2 Custom Tab on Customer Account It doesnt work for me ...
1
vote
2answers
1k views

Magento 2 - Set a custom external link in footer

How can I set a custom external link in the footer? Something like blog.example.com with the label of "Blog" <a href="blog.example.com">Blog</a> I have added other links to my footer via ...
1
vote
1answer
5k views

How to edit my-account-link in Magento2?

I'm using Magento 2. I tried to edit the my-account-link element ("My Account" link in the top bar), I just want to change the text with an icon but I can't find the phtml file to edit! I've tried ...
1
vote
2answers
8k views

Add a category link to a CMS page

I have a CMS landing page and it will contain links to my store categories - I currently have the following setup: <a href="#" class="this-class">Some text here...</a> <a href="#" ...
1
vote
1answer
38 views

empty or # link for my account

I need to set My account link to be # . It shouldn't redirect anywhere. There's a possible way to set it as # using plugin in module. But I want to do it in theme. Is there's a way to achieve in ...
1
vote
2answers
185 views

Magento 2.2.5: How to remove links on my account navigation by php code?

What's up guys, I'm looking for how to remove links on "My Account" page in magento 2 with PHP code. So i've searched a lot and only saw this layout xml solution: How to add/remove links on my ...
1
vote
3answers
460 views

Add external stylesheet link-rel head tag

Knewb here, I want to add external stylesheets via link rel to the head tag list of my store in version 1.9. I am also using Ultimo theme. Can it be done? What is the name of the file I am ...
1
vote
3answers
1k views

which table save Downloadable-Product link and sample-title

When i add/Edit downloadable Product, I Can't get Link and Sample-Title and Links can be purchased separately checkbox value. I need details in which table it get saved/stored ? And how it is store ?...
1
vote
1answer
2k views

Adding link to customer account menu for selected users

I got this code, and that works well: <customer_account translate="label"> <reference name="customer_account_navigation"> <action method="addLink"><name>someName&...
1
vote
1answer
32 views

how do get link in fonts in custom theme?

I know in magento2 get media link we can use $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $storeManager = $objectManager->get('\Magento\Store\Model\StoreManagerInterface')-...
1
vote
2answers
1k views

Edit drop down menu in RWD theme?

I've looked into trying to edit some of the title links in the client account drop down menu? I've looked in the links.phtml but the links themselves are being called elsewhere...
1
vote
1answer
2k views

Linking a category to a page

So I have a category in the navigation section that I would like to link to the same link that is in the footer. I've tried copying the link path that I used for the footer link and putting it in the ...
1
vote
1answer
125 views

How to add count to my account custom link label

I am developing a custom subscription module for one of my projects. A customer can have multiple subscriptions for multiple products. The data is stored in a custom database table. In the my accounts ...
1
vote
1answer
603 views

Site was hacked and placed a linked on the bottom of my website

Recently my website was hacked and at the bottom of the page there is a link that gets redirected to spam. I looked at every file that is associated with my site as well as used the built in debug ...
1
vote
2answers
1k views

Relative and absolute links in Magento

Ok so i have about 15 footer links of pages at my homepage.I have all the pages designed and i have set them all in footer static block.But i can access them only from my homepage if i access them ...
1
vote
1answer
35 views

Magento 2.3.5 - Add link and page to My Account links while keeping left side links

I am trying to add two link to my account "link 1" "link 2". links that will load just a simple "testing" message. I got the link to display but if i click the link i get ...
1
vote
1answer
557 views

My Downloadable Products Error, The link is not available

Using MCE 2.3.1 and all products are downloadable. After a purchase, the customer is sent an Email verifying the purchase and it has a link back to their My Downloadable Products. When the link is ...
1
vote
1answer
329 views

Disable / Remove link to Product Items in Cart

By default, when you go to the Cart, You see all the products you purchased on the left hand column and also all the products are linked to their individual product page. I'd like to remove that ...
1
vote
0answers
42 views

How to connect whole Native site of Magento in Mobile application?

Is it possible to connect whole Native Magento site with Fire-base ? Without creating APIs or connection the default APIs. Example http://127.0.0.1/Magento23/catalog/product/view/id/2446/ Where ...