-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
85 lines (81 loc) · 2.68 KB
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chrome Extension for Magento 2</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
}
body .container {
min-width: 400px;
}
h1, h2 {
color: #333;
}
p {
margin: 10px 0;
}
a {
color: #3498db;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
list-style-type: none;
padding: 0;
}
ul li {
background: #eee;
margin: 5px 0;
padding: 10px;
border-left: 3px solid #47a1fb;
}
.button {
background-color: #47a1fb;
color: #fff;
border-color: #47a1fb;
padding: 10px 20px;
font-size: 16px;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
box-shadow: none;
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
border: 2px solid #fff;
}
.button:hover {
background-color: transparent;
border: 2px solid #47a1fb;
color: #000;
}
</style>
</head>
<body>
<div class="container">
<h2>Admin Associated Grouped Products URL</h2>
<h3>Manual action</h3>
<p>If the url is not being displayed, you can force the action clicking in the button above:</p>
<button class="button" id="runScript">Add <b>url</b> to products title</button>
<h3>Usage</h3>
<ul>
<li>1. Log in to the Magento admin panel.</li>
<li>2. Navigate to the product page of a configurable or grouped product.</li>
<li>3. Locate the associated products listed under the parent product.</li>
<li>4. Next to each associated product, you will find an "url" involving the product name.</li>
<li>5. Click the product name to access the associated grouped product details page directly from the parent product page. It will open the product page in new tab.</li>
</ul>
<h3>Issues</h3>
<p><a href="https://github.com/lima195/chrome-extension-magento2-admin-edit-button-associated-products/issues/new" target="_blank">Report a bug</a></p>
<script src="popup.js"></script>
</div>
</body>
</html>