Version Description
= 3.5.0 = * 3.5
Download this release
Release Info
Developer | Persianscript |
Plugin | Persian Woocommerce |
Version | 3.5.1 |
Comparing to | |
See all releases |
Code changes from version 3.5.0 to 3.5.1
- assets/css/novin.css +303 -0
- assets/images/novin-booster.svg +16 -0
- assets/images/novin/logo-old.png +0 -0
- assets/images/novin/logo.png +0 -0
- assets/images/novin/logo.svg +16 -0
- assets/images/novin/logo2.gif +0 -0
- assets/images/novin/logo3.gif +0 -0
- assets/images/novin/logo4.gif +0 -0
- assets/images/novin/novin-banner.jpg +0 -0
- assets/images/novin/novin-logo.jpg +0 -0
- include/class-core.php +13 -0
- include/view/html-admin-page-novin.php +106 -0
- readme.txt +3 -1
- woocommerce-persian.php +2 -2
assets/css/novin.css
ADDED
@@ -0,0 +1,303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@font-face {
|
2 |
+
font-family: 'yekan';
|
3 |
+
src: url('../fonts/BYekan.eot');
|
4 |
+
src: url('../fonts/BYekan.woff') format('woff'), url('../fonts/BYekan.ttf') format('truetype');
|
5 |
+
font-weight: normal;
|
6 |
+
font-style: normal;
|
7 |
+
}
|
8 |
+
body {
|
9 |
+
direction: rtl;
|
10 |
+
background: #f1f1f1
|
11 |
+
}
|
12 |
+
|
13 |
+
#novin_welcome {
|
14 |
+
color: #333 !important;
|
15 |
+
margin: 40px 0px 10px;
|
16 |
+
font-size: 28px;
|
17 |
+
}
|
18 |
+
|
19 |
+
.three-rows {
|
20 |
+
width: 32%;
|
21 |
+
margin-left: 2%;
|
22 |
+
float: right;
|
23 |
+
color: #777;
|
24 |
+
}
|
25 |
+
@media only screen and (max-width: 1480px) {
|
26 |
+
.toplevel_page_novin-booster .wrap {
|
27 |
+
max-width: 100% !important;
|
28 |
+
margin-left: 20px !important;
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
@media only screen and (max-width: 782px) {
|
33 |
+
.toplevel_page_novin-booster .wrap {
|
34 |
+
margin-left: 10px !important;
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
@media only screen and (max-width: 600px) {
|
39 |
+
.three-rows {
|
40 |
+
width: 100%;
|
41 |
+
margin-left: 0%;
|
42 |
+
float: none
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
.novin_text {
|
47 |
+
margin-bottom: 40px;
|
48 |
+
font-size: 18px;
|
49 |
+
line-height: 30px;
|
50 |
+
}
|
51 |
+
|
52 |
+
.novin-bar {
|
53 |
+
margin-top: 20px;
|
54 |
+
}
|
55 |
+
|
56 |
+
.novin-bar .three-rows:last-child {
|
57 |
+
margin-left: 0
|
58 |
+
}
|
59 |
+
.novin-left-desc h3{font-family: yekan !important;}
|
60 |
+
a.simple-link{text-decoration:none;}
|
61 |
+
a.simple-link:hover{text-decoration:none;}
|
62 |
+
.toplevel_page_novin-booster .wrap {
|
63 |
+
font-family: yekan, Arial !important;
|
64 |
+
color: #777;
|
65 |
+
max-width: 1280px;
|
66 |
+
margin: 0px auto;
|
67 |
+
}
|
68 |
+
|
69 |
+
.novin-right-pic {
|
70 |
+
float: right;
|
71 |
+
width: 64px;
|
72 |
+
height: 64px;
|
73 |
+
}
|
74 |
+
|
75 |
+
.novin-right-pic {
|
76 |
+
float: right;
|
77 |
+
margin: 0px 0px 0px 5px
|
78 |
+
}
|
79 |
+
|
80 |
+
.three-rows-item {
|
81 |
+
position: relative;
|
82 |
+
overflow: auto;
|
83 |
+
margin: 16px 0;
|
84 |
+
padding: 40px 33px;
|
85 |
+
border: 1px solid #e5e5e5;
|
86 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
|
87 |
+
background: #fff;
|
88 |
+
font-size: 14px;
|
89 |
+
line-height: 2.1em;
|
90 |
+
}
|
91 |
+
.toplevel_page_novin-booster .wrap h2,
|
92 |
+
.toplevel_page_novin-booster .wrap h3,
|
93 |
+
.toplevel_page_novin-booster .wrap h4,
|
94 |
+
.toplevel_page_novin-booster .wrap h5 {
|
95 |
+
margin: 0;
|
96 |
+
padding: 0;
|
97 |
+
color: #222;
|
98 |
+
}
|
99 |
+
|
100 |
+
.novin-section h3 {
|
101 |
+
font-size: 22px;
|
102 |
+
}
|
103 |
+
|
104 |
+
.toplevel_page_novin-booster .wrap h5 {
|
105 |
+
color: #777 !important;
|
106 |
+
font-size: 14px;
|
107 |
+
font-weight: 400;
|
108 |
+
}
|
109 |
+
|
110 |
+
.f-right {
|
111 |
+
float: right;
|
112 |
+
display: block;
|
113 |
+
}
|
114 |
+
|
115 |
+
.f-left {
|
116 |
+
float: left;
|
117 |
+
display: block;
|
118 |
+
text-align: right;
|
119 |
+
font-size: 16px;
|
120 |
+
}
|
121 |
+
|
122 |
+
.clear {
|
123 |
+
clear: both;
|
124 |
+
}
|
125 |
+
|
126 |
+
.simple-link {
|
127 |
+
color: #666
|
128 |
+
}
|
129 |
+
|
130 |
+
.btn1, .btn2, .btn3, .btn4, .simple-link {
|
131 |
+
border-radius: 4px;
|
132 |
+
padding: 6px 20px;
|
133 |
+
font-size: 16px;
|
134 |
+
}
|
135 |
+
|
136 |
+
.btn1:hover, .btn2:hover, .btn3:hover, .btn4:hover{
|
137 |
+
color:#e4e4e4;
|
138 |
+
}
|
139 |
+
|
140 |
+
.btn1:hover { background: #39a252; }
|
141 |
+
.btn2:hover { background: #477fde; }
|
142 |
+
.btn3:hover { background: #e65457; }
|
143 |
+
.btn4:hover { background: #c7264d; }
|
144 |
+
|
145 |
+
.tri-desc {
|
146 |
+
padding: 24px 0px 17px;
|
147 |
+
border-top: 1px solid #eee;
|
148 |
+
margin-top: 25px;
|
149 |
+
/* margin:0; */
|
150 |
+
font-size: 17px;
|
151 |
+
line-height: 30px;
|
152 |
+
}
|
153 |
+
|
154 |
+
.copun {
|
155 |
+
padding: 12px 15px 12px 10px;
|
156 |
+
border: 1px dashed #e1e1e1;
|
157 |
+
margin-bottom: 35px;
|
158 |
+
margin-top: 10px;
|
159 |
+
/* background: #f9f9f9; */
|
160 |
+
border-radius: 4px;
|
161 |
+
/* box-shadow: 0px 2px 10px #eee; */
|
162 |
+
/* border-bottom: 1px solid #eee; */
|
163 |
+
}
|
164 |
+
|
165 |
+
.color-green {
|
166 |
+
color: #83C64B;
|
167 |
+
}
|
168 |
+
|
169 |
+
.color-red {
|
170 |
+
color: #ff5f62
|
171 |
+
}
|
172 |
+
|
173 |
+
.color-blue {
|
174 |
+
color: #518ef6
|
175 |
+
}
|
176 |
+
|
177 |
+
.color-purple {
|
178 |
+
color: #e72d5a
|
179 |
+
}
|
180 |
+
|
181 |
+
.ribbon-novin {
|
182 |
+
position: relative;
|
183 |
+
overflow: hidden
|
184 |
+
}
|
185 |
+
|
186 |
+
.ribbon-novin:before {
|
187 |
+
content: "پیشنهاد ویژه";
|
188 |
+
position: absolute;
|
189 |
+
left: 0px;
|
190 |
+
top: 0px;
|
191 |
+
background: #83C64B;
|
192 |
+
color: white;
|
193 |
+
padding: 2px 15px;
|
194 |
+
font-size: 12px;
|
195 |
+
border-radius: 0px 0px 10px 0px;
|
196 |
+
}
|
197 |
+
|
198 |
+
code, kbd {
|
199 |
+
padding: 3px 5px 2px;
|
200 |
+
margin: 0 1px;
|
201 |
+
background: #eaeaea;
|
202 |
+
background: rgba(0, 0, 0, .07);
|
203 |
+
font-size: 13px;
|
204 |
+
}
|
205 |
+
|
206 |
+
.copun code {
|
207 |
+
padding: 5px 18px;
|
208 |
+
font-size: 16px;
|
209 |
+
color: #000;
|
210 |
+
position: relative;
|
211 |
+
display: block;
|
212 |
+
float: left;
|
213 |
+
}
|
214 |
+
|
215 |
+
.copun .f-right {
|
216 |
+
padding-top: 5px;
|
217 |
+
padding-left: 10px;
|
218 |
+
font-size: 16px;
|
219 |
+
}
|
220 |
+
|
221 |
+
.copun code:before,
|
222 |
+
.copun code:after {
|
223 |
+
content: "";
|
224 |
+
width: 10px;
|
225 |
+
height: 10px;
|
226 |
+
display: block;
|
227 |
+
background: white;
|
228 |
+
position: absolute;
|
229 |
+
border-radius: 100px;
|
230 |
+
}
|
231 |
+
|
232 |
+
.copun code:after {
|
233 |
+
right: -5px;
|
234 |
+
top: 15px;
|
235 |
+
}
|
236 |
+
|
237 |
+
.copun code:before {
|
238 |
+
left: -5px;
|
239 |
+
top: 15px;
|
240 |
+
}
|
241 |
+
|
242 |
+
.novin-big-banner {
|
243 |
+
overflow: hidden;
|
244 |
+
position: relative;
|
245 |
+
/* height: 265px; */
|
246 |
+
padding-right: 34.6%;
|
247 |
+
padding-top: 45px;
|
248 |
+
}
|
249 |
+
|
250 |
+
.novin-big-banner .copun {
|
251 |
+
margin-bottom: 0;
|
252 |
+
}
|
253 |
+
|
254 |
+
img.novin-banner {
|
255 |
+
position: absolute;
|
256 |
+
right: 33px;
|
257 |
+
top: 32px;
|
258 |
+
width: 29.25%;
|
259 |
+
height: auto;
|
260 |
+
}
|
261 |
+
|
262 |
+
.btn1 {
|
263 |
+
background: #41B65D;
|
264 |
+
border-color: #379D51 #95CA44 #95CA44;
|
265 |
+
box-shadow: 0 1px 0 #379D51;
|
266 |
+
color: #fff;
|
267 |
+
text-decoration: none;
|
268 |
+
text-shadow: 0 -1px 1px #379D51, -1px 0 1px #379D51, 0 1px 1px #379D51, 1px 0 1px #379D51;
|
269 |
+
}
|
270 |
+
|
271 |
+
.btn2 {
|
272 |
+
background: #518ef6;
|
273 |
+
border-color: #4883cf #4883cf #4883cf;
|
274 |
+
box-shadow: 0 1px 0 #4883cf;
|
275 |
+
color: #fff;
|
276 |
+
text-decoration: none;
|
277 |
+
text-shadow: 0 -1px 1px #4883cf, -1px 0 1px #4883cf, 0 1px 1px #4883cf, 1px 0 1px #4883cf;
|
278 |
+
}
|
279 |
+
|
280 |
+
|
281 |
+
.btn3 {
|
282 |
+
background: #ff5f62;
|
283 |
+
border-color: #e05356 #e05356 #e05356;
|
284 |
+
box-shadow: 0 1px 0 #e05356;
|
285 |
+
color: #fff;
|
286 |
+
text-decoration: none;
|
287 |
+
text-shadow: 0 -1px 1px #e05356, -1px 0 1px #e05356, 0 1px 1px #e05356, 1px 0 1px #e05356;
|
288 |
+
}
|
289 |
+
|
290 |
+
.btn4 {
|
291 |
+
background: #e72d5a;
|
292 |
+
border-color: #d12d54 #d12d54 #d12d54;
|
293 |
+
box-shadow: 0 1px 0 #d12d54;
|
294 |
+
color: #fff;
|
295 |
+
text-decoration: none;
|
296 |
+
text-shadow: 0 -1px 1px #d12d54;
|
297 |
+
}
|
298 |
+
|
299 |
+
.novin-bar:after {
|
300 |
+
content: '';
|
301 |
+
clear: both;
|
302 |
+
display: table;
|
303 |
+
}
|
assets/images/novin-booster.svg
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
+
viewBox="0 0 49 55" width="49" height="55" xml:space="preserve">
|
5 |
+
<linearGradient id="lgrad" x1="100%" y1="100%" x2="0%" y2="0%" >
|
6 |
+
<stop offset="0%" style="stop-color:rgb(66,183,94);stop-opacity:1" />
|
7 |
+
<stop offset="100%" style="stop-color:rgb(150,203,69);stop-opacity:1" />
|
8 |
+
</linearGradient>
|
9 |
+
<path fill="url(#lgrad)" d="M19.5,0h10c2.5,0.1,5.1,0.6,7.4,1.6c4,1.7,7.4,4.6,9.6,8.4c1.4,2.5,2.2,5.4,2.4,8.3v9.5
|
10 |
+
c-0.2,4.3-1.3,8.6-3.5,12.3c-1.6,2.9-3.8,5.5-6.4,7.6c-2.8,2.3-6,4-9.3,5.2c-2.4,0.9-4.9,1.6-7.4,2.1h-0.1c-0.2,0-0.5-0.1-0.5-0.4
|
11 |
+
c0.1-0.3,0.3-0.6,0.5-0.8c0.6-0.7,1.3-1.3,1.9-1.9c1.7-1.7,3.2-3.7,4-6c-1.8,0-7.8,0-8.9,0c-2.7-0.2-5.3-0.8-7.7-2
|
12 |
+
c-4-1.9-7.4-5.1-9.3-9.1c-1-2.2-1.6-4.5-1.8-6.9c0-0.2,0-10.4,0.1-11c0.2-1.5,0.5-2.9,1.1-4.3c1-2.7,2.7-5.1,4.8-7.1
|
13 |
+
c2-1.9,4.4-3.3,6.9-4.2C15.2,0.5,17.3,0.1,19.5,0 M9.8,15.2c0,1.4,0,2.9,0,4.3c10.3,0,20.6,0,30.8,0c0-1.5,0-2.9,0-4.4
|
14 |
+
c-0.7,0-1.4,0-2.1,0c-8.2,0-16.5,0-24.7,0C12.5,15.2,11.2,15.2,9.8,15.2 M9.8,25.8c0,1.5,0,2.9,0,4.4c6.6,0,13.2,0,19.8,0
|
15 |
+
c0-1.5,0-2.9,0-4.4C23,25.8,16.4,25.8,9.8,25.8z"/>
|
16 |
+
</svg>
|
assets/images/novin/logo-old.png
ADDED
Binary file
|
assets/images/novin/logo.png
ADDED
Binary file
|
assets/images/novin/logo.svg
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
+
viewBox="0 0 49 55" width="49" height="55" xml:space="preserve">
|
5 |
+
<linearGradient id="lgrad" x1="100%" y1="100%" x2="0%" y2="0%" >
|
6 |
+
<stop offset="0%" style="stop-color:rgb(66,183,94);stop-opacity:1" />
|
7 |
+
<stop offset="100%" style="stop-color:rgb(150,203,69);stop-opacity:1" />
|
8 |
+
</linearGradient>
|
9 |
+
<path fill="url(#lgrad)" d="M19.5,0h10c2.5,0.1,5.1,0.6,7.4,1.6c4,1.7,7.4,4.6,9.6,8.4c1.4,2.5,2.2,5.4,2.4,8.3v9.5
|
10 |
+
c-0.2,4.3-1.3,8.6-3.5,12.3c-1.6,2.9-3.8,5.5-6.4,7.6c-2.8,2.3-6,4-9.3,5.2c-2.4,0.9-4.9,1.6-7.4,2.1h-0.1c-0.2,0-0.5-0.1-0.5-0.4
|
11 |
+
c0.1-0.3,0.3-0.6,0.5-0.8c0.6-0.7,1.3-1.3,1.9-1.9c1.7-1.7,3.2-3.7,4-6c-1.8,0-7.8,0-8.9,0c-2.7-0.2-5.3-0.8-7.7-2
|
12 |
+
c-4-1.9-7.4-5.1-9.3-9.1c-1-2.2-1.6-4.5-1.8-6.9c0-0.2,0-10.4,0.1-11c0.2-1.5,0.5-2.9,1.1-4.3c1-2.7,2.7-5.1,4.8-7.1
|
13 |
+
c2-1.9,4.4-3.3,6.9-4.2C15.2,0.5,17.3,0.1,19.5,0 M9.8,15.2c0,1.4,0,2.9,0,4.3c10.3,0,20.6,0,30.8,0c0-1.5,0-2.9,0-4.4
|
14 |
+
c-0.7,0-1.4,0-2.1,0c-8.2,0-16.5,0-24.7,0C12.5,15.2,11.2,15.2,9.8,15.2 M9.8,25.8c0,1.5,0,2.9,0,4.4c6.6,0,13.2,0,19.8,0
|
15 |
+
c0-1.5,0-2.9,0-4.4C23,25.8,16.4,25.8,9.8,25.8z"/>
|
16 |
+
</svg>
|
assets/images/novin/logo2.gif
ADDED
Binary file
|
assets/images/novin/logo3.gif
ADDED
Binary file
|
assets/images/novin/logo4.gif
ADDED
Binary file
|
assets/images/novin/novin-banner.jpg
ADDED
Binary file
|
assets/images/novin/novin-logo.jpg
ADDED
Binary file
|
include/class-core.php
CHANGED
@@ -35,6 +35,7 @@ if ( ! class_exists( 'Persian_Woocommerce_Core' ) ) :
|
|
35 |
|
36 |
//add_filter( 'woocommerce_show_addons_page', '__return_false', 100 );
|
37 |
add_action( 'admin_menu', array( $this, 'admin_menus' ), 59 );
|
|
|
38 |
add_action( 'activated_plugin', array( $this, 'activated_plugin' ), 10, 1 );
|
39 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
40 |
add_action( 'admin_notices', array( $this, 'notices_render' ) );
|
@@ -54,6 +55,9 @@ if ( ! class_exists( 'Persian_Woocommerce_Core' ) ) :
|
|
54 |
return;
|
55 |
}
|
56 |
|
|
|
|
|
|
|
57 |
add_menu_page( 'ووکامرس فارسی', 'ووکامرس فارسی', 'manage_options', 'persian-wc',
|
58 |
array( $this->translate, 'translate_page' ), $this->plugin_url( 'assets/images/logo.png' ), '55.6' );
|
59 |
|
@@ -107,6 +111,15 @@ if ( ! class_exists( 'Persian_Woocommerce_Core' ) ) :
|
|
107 |
include( 'view/html-admin-page-about.php' );
|
108 |
}
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
public function activated_plugin( $plugin ) {
|
111 |
|
112 |
if ( $plugin != 'persian-woocommerce/woocommerce-persian.php' ) {
|
35 |
|
36 |
//add_filter( 'woocommerce_show_addons_page', '__return_false', 100 );
|
37 |
add_action( 'admin_menu', array( $this, 'admin_menus' ), 59 );
|
38 |
+
add_action( 'admin_head-toplevel_page_novin-booster', array( $this, 'novin_booster_header' ) );
|
39 |
add_action( 'activated_plugin', array( $this, 'activated_plugin' ), 10, 1 );
|
40 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
41 |
add_action( 'admin_notices', array( $this, 'notices_render' ) );
|
55 |
return;
|
56 |
}
|
57 |
|
58 |
+
add_menu_page( 'افزایش فروش', 'افزایش فروش', 'manage_options', 'novin-booster',
|
59 |
+
array( $this->translate, 'novin_page' ), $this->plugin_url( 'assets/images/novin/logo.png' ), '2' );
|
60 |
+
|
61 |
add_menu_page( 'ووکامرس فارسی', 'ووکامرس فارسی', 'manage_options', 'persian-wc',
|
62 |
array( $this->translate, 'translate_page' ), $this->plugin_url( 'assets/images/logo.png' ), '55.6' );
|
63 |
|
111 |
include( 'view/html-admin-page-about.php' );
|
112 |
}
|
113 |
|
114 |
+
public function novin_page() {
|
115 |
+
include( 'view/html-admin-page-novin.php' );
|
116 |
+
}
|
117 |
+
|
118 |
+
public function novin_booster_header() {
|
119 |
+
$link = PW()->plugin_url( 'assets/css/novin.css' );
|
120 |
+
echo "<link rel='stylesheet' href='{$link}' type='text/css' media='all' />";
|
121 |
+
}
|
122 |
+
|
123 |
public function activated_plugin( $plugin ) {
|
124 |
|
125 |
if ( $plugin != 'persian-woocommerce/woocommerce-persian.php' ) {
|
include/view/html-admin-page-novin.php
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="wrap">
|
2 |
+
|
3 |
+
<h1 id="novin_welcome">پیشنهادهایی برای افزایش فروش شما</h1>
|
4 |
+
|
5 |
+
<div class="novin_text">به دنبال افزایش درآمد فروشگاه اینترنتی (یا وبسایت) خودتان هستید؟ ما چند پیشنهاد مختلف برای بازاریابی و تبلیغات کسب و کار شما داریم.
|
6 |
+
</div>
|
7 |
+
|
8 |
+
<div class="novin-bar">
|
9 |
+
<div class="three-rows">
|
10 |
+
<div class="three-rows-item ribbon-novin">
|
11 |
+
|
12 |
+
<div class="novin-right-pic">
|
13 |
+
<img src="<?php echo PW()->plugin_url( 'assets/images/novin/logo.svg' ); ?>"></div>
|
14 |
+
<div class="novin-left-desc">
|
15 |
+
<h3>ملی پیامک</h3>
|
16 |
+
<h5 class="f-right">افزونه تایید پیامک</h5>
|
17 |
+
<span class="f-left">Melipayamak.com</span></div>
|
18 |
+
<div class="clear"></div>
|
19 |
+
<p class="tri-desc">با نصب این افزونۀ پیامکی، علاوه بر تایید شماره، وضیعت سفارش، پیشنهادات و... را به مشتریان خود ارسال کنید.
|
20 |
+
</p>
|
21 |
+
<div class="copun">
|
22 |
+
<div class="f-right"><strong class="color-green">20% تخفیف</strong> ویژۀ شما</div>
|
23 |
+
<div class="f-left"><code>mpwpwoo</code></div>
|
24 |
+
<div class="clear"></div>
|
25 |
+
</div>
|
26 |
+
<a target="_blank"href="https://fa.wordpress.org/plugins/melipayamak/" class="btn1">دانلود رایگان افزونه</a> <a target="_blank"href="https://www.melipayamak.com" target="_blank" class="simple-link">وب سایت ملی پیامک</a>
|
27 |
+
</div>
|
28 |
+
</div>
|
29 |
+
|
30 |
+
|
31 |
+
<div class="three-rows">
|
32 |
+
<div class="three-rows-item ">
|
33 |
+
|
34 |
+
<div class="novin-right-pic">
|
35 |
+
<img src="<?php echo PW()->plugin_url( 'assets/images/novin/logo2.gif' ); ?>"></div>
|
36 |
+
<div class="novin-left-desc">
|
37 |
+
<h3>تبلیغات گوگل</h3>
|
38 |
+
<h5 class="f-right">گوگل ادز</h5>
|
39 |
+
<span class="f-left">Novin.com</span></div>
|
40 |
+
<div class="clear"></div>
|
41 |
+
<p class="tri-desc">با تبلیغ در گوگل (google ads) ظرف 1 روز فروشتان را تا 400% افزایش دهید.
|
42 |
+
</p>
|
43 |
+
<div class="copun">
|
44 |
+
<div class="f-right"><strong class="color-blue">10% تخفیف</strong> (50 و 100 درهمی)</div>
|
45 |
+
<div class="f-left"><code>novadwp</code></div>
|
46 |
+
<div class="clear"></div>
|
47 |
+
</div>
|
48 |
+
<a target="_blank"href="https://www.novin.com/adwords/#price" class="btn2">شروع تبلیغات گوگل</a> <a target="_blank"href="https://www.novin.com/adwords/" class="simple-link">بیشتر برایم بگویید</a>
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
|
52 |
+
|
53 |
+
<div class="three-rows">
|
54 |
+
<div class="three-rows-item ">
|
55 |
+
|
56 |
+
<div class="novin-right-pic">
|
57 |
+
<img src="<?php echo PW()->plugin_url( 'assets/images/novin/logo3.gif' ); ?>"></div>
|
58 |
+
<div class="novin-left-desc">
|
59 |
+
<h3>رپورتاژ تبلیغاتی</h3>
|
60 |
+
<h5 class="f-right">تبلیغ + سئو</h5>
|
61 |
+
<span class="f-left">Novin.com</span></div>
|
62 |
+
<div class="clear"></div>
|
63 |
+
<p class="tri-desc">در سایت های بزرگ ایرانی مقاله منتشر کنید. دیده شوید + رتبه گوگل خود را با بک لینک های قدرتمند بهتر کنید.
|
64 |
+
</p>
|
65 |
+
<div class="copun">
|
66 |
+
<div class="f-right"><strong class="color-red">تا 20% تخفیف</strong> برای 2 رپورتاژ یا بیشتر</div>
|
67 |
+
<!-- div class="f-left"><code>بدون نیاز به کد</code></div -->
|
68 |
+
<div class="clear"></div>
|
69 |
+
</div>
|
70 |
+
<a target="_blank"href="https://www.novin.com/reportage/" class="btn3">لیست تعرفه ها</a> <a target="_blank"href="https://www.novin.com/blog/series/reprotage-guide/" class="simple-link">رپورتاژ خبری چیست؟</a>
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
|
76 |
+
<div class="clear"></div>
|
77 |
+
|
78 |
+
|
79 |
+
<div class="three-rows-item novin-big-banner">
|
80 |
+
<img src="<?php echo PW()->plugin_url( 'assets/images/novin/novin-banner.jpg' ); ?>" class="novin-banner">
|
81 |
+
|
82 |
+
|
83 |
+
<div class="novin-right-pic">
|
84 |
+
<img src="<?php echo PW()->plugin_url( 'assets/images/novin/logo4.gif' ); ?>"></div>
|
85 |
+
<div class="novin-left-desc">
|
86 |
+
<h3>یادگیری بازاریابی دیجیتال</h3>
|
87 |
+
<h5 class="f-right">87 ساعت آموزش غیر حضوری</h5>
|
88 |
+
<span class="f-left">Novin.com</span></div>
|
89 |
+
<div class="clear"></div>
|
90 |
+
<p class="tri-desc">تمام اصول بازاریابی و تبلیغات در دنیای اینترنت را یاد بگیرید و به کمک آنها، سرعت رشد کسب و کارتان را چند برابر کنید. در پایان این دورۀ 87 ساعته، شما تمام فوت و فنهای دنیای اینترنت را میشناسید و میتوانید از آنها به سود خودتان استفاده کنید. </p>
|
91 |
+
|
92 |
+
<div class="f-right" style="padding-top:22px">
|
93 |
+
<a target="_blank"href="https://www.novin.com/academy/digital-marketing-course/" class="btn4">اطلاعات دوره و ثبت نام</a> <a target="_blank"href="https://www.novin.com/academy/" class="simple-link">سایر دوره ها و کتاب ها</a>
|
94 |
+
</div>
|
95 |
+
<div class="f-left">
|
96 |
+
<div class="copun">
|
97 |
+
<div class="f-right"><strong class="color-purple">15% تخفیف</strong> ویژۀ شما</div>
|
98 |
+
<div class="f-left"><code>novdmwp</code></div>
|
99 |
+
<div class="clear"></div>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
|
103 |
+
|
104 |
+
</div>
|
105 |
+
|
106 |
+
</div>
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ author URI: http://www.woocommerce.ir/
|
|
5 |
plugin URI: http://www.woocommerce.ir/download/
|
6 |
Tags: persian,parsi,parsian,persians,farsi,iran,woocommerce, persian woocommerce, woocommerce farsi, iran, iranian, rtl, fa_IR,states,iranian rials,iranian tomans, woocommerce.ir,affiliate, cart, checkout, commerce, configurable, digital, download, downloadable, e-commerce, ecommerce, inventory, reports, sales, sell, shipping, shop, shopping, stock, store, tax, variable, widgets, woothemes, wordpress ecommerce
|
7 |
Requires at least: 4.4
|
8 |
-
Tested up to: 4.9.
|
9 |
|
10 |
بسته ووکامرس پارسی به راحتی سیستم فروشگاه ساز ووکامرس را فارسی می کند و امکانات جدید متناسب با ایران را به ووکامرس اضافه میکند.
|
11 |
|
@@ -45,6 +45,8 @@ You can read complete documentations on the [woocommerce.ir](http://www.woocomme
|
|
45 |
|
46 |
== Changelog ==
|
47 |
= 3.5.0 =
|
|
|
|
|
48 |
* سازگاری با ووکامرس 3.5
|
49 |
= 3.4.2 =
|
50 |
* رفع باگ ریز در کلاس درگاه های پرداخت
|
5 |
plugin URI: http://www.woocommerce.ir/download/
|
6 |
Tags: persian,parsi,parsian,persians,farsi,iran,woocommerce, persian woocommerce, woocommerce farsi, iran, iranian, rtl, fa_IR,states,iranian rials,iranian tomans, woocommerce.ir,affiliate, cart, checkout, commerce, configurable, digital, download, downloadable, e-commerce, ecommerce, inventory, reports, sales, sell, shipping, shop, shopping, stock, store, tax, variable, widgets, woothemes, wordpress ecommerce
|
7 |
Requires at least: 4.4
|
8 |
+
Tested up to: 4.9.8
|
9 |
|
10 |
بسته ووکامرس پارسی به راحتی سیستم فروشگاه ساز ووکامرس را فارسی می کند و امکانات جدید متناسب با ایران را به ووکامرس اضافه میکند.
|
11 |
|
45 |
|
46 |
== Changelog ==
|
47 |
= 3.5.0 =
|
48 |
+
* بروزرسانی و تغییرات جدید
|
49 |
+
= 3.5.0 =
|
50 |
* سازگاری با ووکامرس 3.5
|
51 |
= 3.4.2 =
|
52 |
* رفع باگ ریز در کلاس درگاه های پرداخت
|
woocommerce-persian.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: ووکامرس فارسی
|
4 |
Plugin URI: http://woocommerce.ir
|
5 |
Description: بسته فارسی ساز ووکامرس پارسی به راحتی سیستم فروشگاه ساز ووکامرس را فارسی می کند. با فعال سازی افزونه ، بسیاری از قابلیت های مخصوص ایران به افزونه افزوده می شوند. پشتیبانی در <a href="http://www.woocommerce.ir/" target="_blank">ووکامرس پارسی</a>.
|
6 |
-
Version: 3.5.
|
7 |
Author: ووکامرس فارسی
|
8 |
Author URI: http://woocommerce.ir
|
9 |
WC requires at least: 3.0.0
|
@@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
15 |
}
|
16 |
|
17 |
if ( ! defined( 'PW_VERSION' ) ) {
|
18 |
-
define( 'PW_VERSION', '3.5.
|
19 |
}
|
20 |
|
21 |
require_once( 'include/class-core.php' );
|
3 |
Plugin Name: ووکامرس فارسی
|
4 |
Plugin URI: http://woocommerce.ir
|
5 |
Description: بسته فارسی ساز ووکامرس پارسی به راحتی سیستم فروشگاه ساز ووکامرس را فارسی می کند. با فعال سازی افزونه ، بسیاری از قابلیت های مخصوص ایران به افزونه افزوده می شوند. پشتیبانی در <a href="http://www.woocommerce.ir/" target="_blank">ووکامرس پارسی</a>.
|
6 |
+
Version: 3.5.1
|
7 |
Author: ووکامرس فارسی
|
8 |
Author URI: http://woocommerce.ir
|
9 |
WC requires at least: 3.0.0
|
15 |
}
|
16 |
|
17 |
if ( ! defined( 'PW_VERSION' ) ) {
|
18 |
+
define( 'PW_VERSION', '3.5.1' );
|
19 |
}
|
20 |
|
21 |
require_once( 'include/class-core.php' );
|