Hello
I want to add affiliate marketing to a website as an ecommerce, like amazon does it.
And give to any user the link of any product to share and get the commission.
How you would do this with drupal 8
I only seen 1 module called Simple Affiliate that it not what I'm looking for.
How do you do affiliate marketing with a site with Drupal 8
Hi all, I'm running a site on Drupal 8.9.2 and am running in to one annoying issue with the in-content links on the MoreThanThemes theme that we've been running for many years. I don't know when this started happening, so I'm not sure if it was a specific change that caused the issue, or a Drupal update.
What's happening is that when a paragraph type has a url included in it, instead of showing the link text, the page is being generated with the URL.
I have a problem with the Drupal cache. The cache remembers session and cookie values. Everything works fine if I am logged into the backend or if I turn off the Drupal cache completely. Is it possible to use php cookies and they will not be cached if I am not a logged in user? The problem is with Drupal 8.
I have some code that runs on an admin page controller. So if I do $route_match = \Drupal::routeMatch(); then it relates to that admin page. However, I want to Temporarily change the value of \Drupal::routeMatch() so that it uses the path of a node (for example node/1).
With Drupal 7 I could simply change $_GET['q'] = 'node/1', for example, do my logic and switch it back to the original path afterwards.