Questions tagged [link]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

<a> tag is not open in another tab

Im trying to put a link using < a > tag inside a translate text. I got this using the next code <?= $block->escapeHtml($block->getNoResultText() ? $block->getNoResultText() : __('...
0 votes
1 answer
259 views

How to create a link for PDF file in Magento

How to create a link for a PDF file in Magento? I have uploaded the PDF file to the catalog, how to create a hyperlink for download?
0 votes
0 answers
16 views

How to remove link from name,qty,name,sku in Magenot 2 Product Admin Grid?

I want to remove single page link from ( name, qty, name, SKU ) columns in Magento 2 Product Admin Grid? So on clicking this single page doesn't open in Magento 2 Admin. Can anyone suggest how to do ...
  • 576
0 votes
1 answer
14 views

How do I add a link to a similar product in the short discription of another product

I am trying to add a link to a similar product in the short discription of another product.
  • 1
0 votes
1 answer
55 views

Get Page Type Of Referer Url In Magento 2

I am using Magento 2.3.5-p2 I am trying to get the page type for previous link I am able to get the previous link using \Magento\Framework\App\Response\RedirectInterface $redirect, public function ...
0 votes
0 answers
64 views

Magento 2 minicart icon as link to shoping cart

I'm working in Magento 2.3.5 - p1. I have the minicart in the sidebar, when a product is added the minicart opens for a few seconds and then closes automatically. When the minicart icon is clicked, ...
  • 64
0 votes
2 answers
357 views

How do I make a pdf link within website open in a new window?

Is there an easy way to set a pdf link (link to a file within the website) open in a new window? I am sure this must be something to do with the code, but it is the first time I have been asked to do ...
0 votes
1 answer
18 views

M2 - redirect only links coming from Google

We have a new webshop that already has some good indexed links in Google. But the links (from an old Magento) contain a .html extension. So I wanted to redirect them all to the non .html URL (using ...
  • 603
-2 votes
1 answer
30 views

Share post on Youtube

I'm trying to create a share button on a youtube post, but I haven't found a solution yet. The problem I'm having is that the youtube share link is the same as that of fb: http://www.facebook.com/...
0 votes
0 answers
9 views

Add hyper link to header

I want a link next to the login button on the right top corner of the main page. I want the link to be directed to another webpage as the main page is a b2b and this link is sending them to the b2c ...
0 votes
1 answer
20 views

How to implement custom links for a category?

When a category is loaded, it uses links that lead to the category. How to add a field for the link in the category and if the field is filled in, as a result, the link by clicking on the category ...
  • 138
0 votes
1 answer
24 views

Add into Top Link - My Downloadable Products

I need to add a link to the top.links block that links to My Downloadable Products and translate it to My Favourite Product, can you tell me if this possible. <referenceBlock name="top.links&...
  • 69
0 votes
2 answers
165 views

Magento 2.4 add multiple Custom Links to Main Navigation via Plugin

I managed to add Custom Link1 to a CMS page to the main catalog navigation following the steps from the below link. There it explains how to add one custom link but I need to add two links and I don't ...
0 votes
0 answers
78 views

How to add a Link in Shipment PDF?

I'm creating a PDF file with a link and I need to open the link in a new window. How can I do that?
  • 1
0 votes
1 answer
60 views

My Account page Back to My Orders link how to move after Order Information in magento 2.3.6

My Account Page Sales order invoice page Back to My Orders link how to move after Order Information in magento 2.3.6 http://magento2.com/sales/order/invoice/order_id/22361/ vendor/magento/module-...
0 votes
0 answers
17 views

Can i add internal links in adminhtml?

i am writing an payment module but sadly it only supports one currency. i would like to add a message which currency is supported and provide and internal link to the currency setup setting on the ...
  • 113
1 vote
1 answer
198 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 ...
  • 11
0 votes
1 answer
51 views

Magento 2.3.5: Href link visible when a non confirmed user tries to login

When Store confirmation is required after customer registers and tries to login in to confirm their account, it shows an error message with a link in `here. Please refer below screenshot
0 votes
2 answers
19 views

Link not active on storefront

I extended Magento_Catalog in a custom theme and added the following block: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
  • 101
0 votes
1 answer
813 views

How to add a link in Order email template in Magento 2.3.3

Here i am trying to attach a dynamic link with every order in order email template. for eg: <a href="pub/media/000001.pdf">Download Pdf</a> And i have troied <a href="{{media url="'{...
0 votes
2 answers
219 views

Add sign-in and Create Account link in custom header

I have created a custom header.phtml file to make my custom header. See https://prnt.sc/r7dtnu Now I want to add Sign in and Create an Account link in this. How can I add here?
  • 720
1 vote
1 answer
77 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 ...
  • 671
0 votes
1 answer
458 views

Magento 2: zend pdf anchor link not show in pdf file

I am using below code to show hyperlink in pdf file but link is not showing.Drawtext method works fine.It means hyperlink code is not working $pdf = new \Zend_Pdf(); $pdf->...
0 votes
0 answers
302 views

page links do not work properly

Some pages began to work incorrectly. If I follow the site.com/privacy-policy It redirects me to site.com/search/privacy%20policy?amnoroute tell me how to fix <?php return [ 'modules' =>...
0 votes
0 answers
164 views

Magento 2 how to save my custom link titles from Magento 2 admin end

We have created a custom link type products like related at admin end & we created custom link_title for the table catalog_product_link to save the custom titles. By custom import, we are able ...
0 votes
1 answer
222 views

Magento 2 how to create link_title column for the table catalog_product_link

How to create column called link_title to the catalog_product_link table & what are the steps, need to be followed to set the value to the respected column Did small prototype as followed here ...
0 votes
1 answer
713 views

Magento2 : How to call CMS page link in PWA

I have Created one CMS page and Added in Static block like below code : <ul> <li><a href="about">About</a></li> </ul> Called static block in venia-concept/src/...
0 votes
1 answer
155 views

How to create link in magento 2

I need to create a link like http:// base_url / storeId / productID?q how do I correctly specify storeId / productID.
1 vote
1 answer
1k 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 ...
3 votes
1 answer
741 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="...
  • 41
1 vote
1 answer
818 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 ...
  • 155
1 vote
1 answer
994 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 ...
  • 2,418
1 vote
0 answers
44 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 ...
  • 7,459
1 vote
1 answer
640 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 ...
  • 809
1 vote
0 answers
27 views

How to create a "add to cart link" on a website that uses Magento?

I want to know how to create a "add to cart link" on a website that uses Magento. A retailer’s website uses Magento, I want create add to cart urls to post on my instagram people could directly check ...
  • 11
0 votes
0 answers
38 views

Best Seller Block (links not working) - Magento 2.2

Here i need to solve some issue where, When i click on the product image (BLUE CIRCLE), in the Best seller block, we are redirected towards the Home Page Similarly, when the name of the product is ...
  • 1
8 votes
2 answers
361 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/ ...
  • 2,551
0 votes
0 answers
58 views

How can i change "Create an Account" position

i am new at Magento. How can i do this How can i do this
  • 1
0 votes
3 answers
1k views

Make image link in static block

I have this static block: <div class="interior-block-slide" style="background-image: url({{media url='wysiwyg/typostores/typologancee/images/home07/vertical-blinds-full- frontend.jpg'}});"> <...
  • 932
2 votes
2 answers
376 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/...
1 vote
2 answers
344 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,198
1 vote
0 answers
47 views

Some password reset links do not work

There are many topics here about password reset links that don´t work but I can´t find one that is about only some links that don´t work. Our client some times receive messages from customers saying ...
1 vote
3 answers
745 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
1 answer
60 views

How to insert custom link before last menu in magento 2?

I have 5 categories in main menu and want to add custom link in between menu. How can I add this? For example: Menu1 Menu2 Menu3 Menu4 Custom_Link(Static) Menu5 Code Is: <ul> <?...
  • 1,965
2 votes
2 answers
9k views

Add Custom link in customer account navigation in Magento 2

How to add custom link in customer account navigation? I am looking for code to show form upon clicking custom link on left navigation. Can we submit form using custom link?
  • 1,759
0 votes
2 answers
59 views

How to create a direct link from list page to detail page in custom module in magento 1?

I'm a newbie in magento and this is the first time I create a module. I have a brand module with 2 pages: list brand and brand's detail. In the list page, I want to click in a brand and then it will ...
5 votes
4 answers
8k views

Magento 2 How to add Home link in navigation bar!

How can i link my home page in the navigation bar(Home) button?
  • 125
0 votes
1 answer
130 views

Create store url in cms page with URL Key

I created a Magento page with an URL Key condicoes-gerais. I'm trying to create an hyperlink to that page in a phtml file. I'm using the following command: <a href="<?= $this->getUrl('', ...
2 votes
1 answer
962 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.
1 vote
1 answer
1k views

Magento 2 show name instead of id in Layered Navigation

I'm using Magento 2, and on the category pages, on the left, where are listed all the subcategories, if I click on any of them, I get a link ending in: ?cat=id If I try to follow the same path from ...
  • 1,447