Questions tagged [link]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k 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
1 answer
2k views

How I Can Add Link In Header For Social Media Icon?

I am trying to find the option that how I can edit the link of google plus in header. I find in CMS > Static block but no success, Please help me, How can I edit or add the link
1 vote
4 answers
2k views

How to add new or customize existing top header links in Magento?

I want to change the existing top links AND add some new.I need them to be in larger font (not default one) with icons or images before them. I read some tutorials and came to know its done by writing ...
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'}});"> <...
3 votes
3 answers
1k 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?
0 votes
3 answers
46 views

Magento2: Sharing link from our site, shows the og:name of an old site we had

I have 2 Magento websites in one Magento 2.4 backend. Until recently, we had another website in the same backend, but we deactivated it. When I share a link from 1 of the remaining active sites in ...
0 votes
1 answer
2k 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
0 answers
19 views

how i get multipe sku value in pixel tacking link

i am implement the pixel tracking link and i found the this url <img height="1" width="1" style="border-style:none;" alt="" src="https://insight.adsrvr....
0 votes
1 answer
34 views

How to Add A link in the product page

I want a to add a link the customer can click which will redirect them to another page(a product) on the site. How can i achieve this? Ideally I'd like the link to be in the section where customer ...
0 votes
1 answer
26 views

How to manually create a html link to another store view in CMS content?

I need to insert a link to CMS content that will point to the same site's different store view. How can I do that?
1 vote
0 answers
25 views

URL Input opentab Issue

Open in new tab its not working fine in my admin form, its always showing checked if either its value false. In Database value showing correctly but in editpage it is always showing checked. [link] =&...
2 votes
1 answer
36 views

<li><a href="customer/account">My Account</a></li> error does not clear when next footer link clicked

href="customer/account" My Account when on the page this link goes to then I click on another footer link I get for example ://mydomain.com/customer/account/login/about-us
0 votes
1 answer
114 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
974 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
1 answer
45 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 vote
3 answers
3k views

Remove link from navigation

Please anyone help me on this. I want to remove the top link from navigation menu, i found the solution but it removes only parent link, i want tp remove specific link from menu I.e. if users click on ...
0 votes
1 answer
385 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 ...
2 votes
2 answers
1k 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 ...
0 votes
1 answer
22 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 ...
8 votes
3 answers
16k 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?
0 votes
2 answers
18k 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 ...
19 votes
3 answers
60k 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 ...
-2 votes
1 answer
36 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
1 answer
30 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 ...
0 votes
0 answers
189 views

email magento testimonial link not redirect admin custom module edit page

I Sent an email to Admin and the email contains some text and testimonial links and link URL is http://example.com/index.php/admin_test/adminhtml_testimonial/edit/id/1/key/...
11 votes
4 answers
12k 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?
0 votes
1 answer
58 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
1 answer
29 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&...
0 votes
2 answers
377 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
143 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?
2 votes
1 answer
891 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&...
0 votes
1 answer
103 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 ...
0 votes
1 answer
600 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->...
1 vote
3 answers
2k 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
1 answer
298 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 ...
0 votes
1 answer
916 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
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="...
0 votes
2 answers
762 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?
1 vote
1 answer
89 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 ...
5 votes
4 answers
9k views

Magento 2 How to add Home link in navigation bar!

How can i link my home page in the navigation bar(Home) button?
0 votes
0 answers
343 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
239 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
326 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 ...
2 votes
2 answers
4k 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
0 votes
1 answer
291 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.
3 votes
1 answer
907 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="...
1 vote
0 answers
896 views

Remove a link tag in head tag

I never used Magento and a client of mine asked me to remove an unwanted google adsense in his website. While inspecting, I got this: <link rel="preload" href="https://adservice.google.com.br/...
1 vote
1 answer
1k 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 ...
8 votes
2 answers
401 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/ ...