-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(admin-ui): instruction and link update
In this commit the doc instruction is added for the following modules stock bar Free Shipping Bar Direct Checkout and also the refund policy link also being updated. resolves: Admin UI: uasge instruction #322
- Loading branch information
1 parent
fce0ee3
commit 762de1f
Showing
9 changed files
with
199 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+18.3 KB
includes/modules/direct-checkout/assets/images/direct-checkout-instruction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
includes/modules/direct-checkout/assets/src/components/SettingInstruction.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import Image from "antd/es/image"; | ||
import scInstruction from "../../images/direct-checkout-instruction.png"; | ||
import FieldWrapper from "sales-booster/src/components/settings/Panels/PanelSettings/Fields/FieldWrapper"; | ||
|
||
const SettingInstruction = () => { | ||
return ( | ||
<FieldWrapper colSpan={24} justify={`start`}> | ||
<div> | ||
<p> | ||
To be able to direct checkout of a specific product must go to{" "} | ||
<a href={`/wp-admin/edit.php?post_type=product`}> | ||
<strong>all products</strong> | ||
</a>{" "} | ||
in woocommerce. Then select a desired product to <b>Edit</b>. In the | ||
product meta of woocommerce you will be able to see{" "} | ||
<b>"Direct Checkout"</b>. | ||
</p> | ||
<Image preview={false} src={scInstruction} /> | ||
<div | ||
style={{ | ||
marginTop: "10px", | ||
}} | ||
> | ||
<p> | ||
Explore full range of products{" "} | ||
<a href={`/wp-admin/edit.php?post_type=product`}> | ||
<strong>here</strong> | ||
</a> | ||
. | ||
</p> | ||
</div> | ||
<div> | ||
<button | ||
style={{ | ||
backgroundColor: "#0875ff", | ||
color: "#fff", | ||
padding: "10px 20px", | ||
border: "none", | ||
borderRadius: "5px", | ||
cursor: "pointer", | ||
display: "block", | ||
margin: "10px 0", | ||
}} | ||
onClick={() => | ||
window.open( | ||
"https://storegrowth.io/docs/direct-checkout/", | ||
"_blank" | ||
) | ||
} | ||
> | ||
Documentaion | ||
</button> | ||
</div> | ||
</div> | ||
</FieldWrapper> | ||
); | ||
}; | ||
|
||
export default SettingInstruction; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
includes/modules/progressive-discount-banner/assets/src/components/SettingInstruction.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import FieldWrapper from "sales-booster/src/components/settings/Panels/PanelSettings/Fields/FieldWrapper"; | ||
|
||
const SettingInstruction = () => { | ||
return ( | ||
<FieldWrapper colSpan={24} justify={`start`}> | ||
<div> | ||
<p> | ||
To set the free shipping method please go to{" "} | ||
<b> | ||
<a href={`/wp-admin/admin.php?page=wc-settings&tab=shipping`}> | ||
<strong>Shipping</strong> | ||
</a> | ||
</b>{" "} | ||
in woocommerce setting. Then add a{" "} | ||
<b> | ||
<a | ||
href={`/wp-admin/admin.php?page=wc-settings&tab=shipping&zone_id=new`} | ||
> | ||
<strong>Shipping Zone</strong> | ||
</a>{" "} | ||
</b> | ||
. In the shipping zone add the <b>"Shipping Method"</b> of{" "} | ||
<b>"Free Shipping"</b> and set an conditional amount to avail the free | ||
shipping. | ||
</p> | ||
|
||
<div | ||
style={{ | ||
marginTop: "10px", | ||
}} | ||
> | ||
<p> | ||
For more please visit the{" "} | ||
<a href={`https://woo.com/document/free-shipping/`} target="_blank"> | ||
<strong>Woocommerce Documentation</strong> | ||
</a> | ||
. | ||
</p> | ||
</div> | ||
<div> | ||
<button | ||
style={{ | ||
backgroundColor: "#0875ff", | ||
color: "#fff", | ||
padding: "10px 20px", | ||
border: "none", | ||
borderRadius: "5px", | ||
cursor: "pointer", | ||
display: "block", | ||
margin: "10px 0", | ||
}} | ||
onClick={() => | ||
window.open( | ||
"https://storegrowth.io/docs/free-shipping-bar/", | ||
"_blank" | ||
) | ||
} | ||
> | ||
Documentaion | ||
</button> | ||
</div> | ||
</div> | ||
</FieldWrapper> | ||
); | ||
}; | ||
|
||
export default SettingInstruction; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
includes/modules/stock-bar/assets/src/components/SettingInstruction.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import Image from "antd/es/image"; | ||
import scInstruction from "../../images/stock-bar-instruction.png"; | ||
import FieldWrapper from "sales-booster/src/components/settings/Panels/PanelSettings/Fields/FieldWrapper"; | ||
|
||
const SettingInstruction = () => { | ||
return ( | ||
<FieldWrapper colSpan={24} justify={`start`}> | ||
<div> | ||
<p> | ||
To be able to view the stock bar of a specific product must go to{" "} | ||
<a href={`/wp-admin/edit.php?post_type=product`}> | ||
<strong>all products</strong> | ||
</a>{" "} | ||
in woocommerce. Then select a desired product to <b>Edit</b>. In the | ||
product meta of woocommerce you will be able to see{" "} | ||
<b>"Inventory"</b>. | ||
</p> | ||
<Image preview={false} src={scInstruction} /> | ||
<div | ||
style={{ | ||
marginTop: "10px", | ||
}} | ||
> | ||
<p> | ||
Explore full range of products{" "} | ||
<a href={`/wp-admin/edit.php?post_type=product`}> | ||
<strong>here</strong> | ||
</a> | ||
. | ||
</p> | ||
</div> | ||
<div> | ||
<button | ||
style={{ | ||
backgroundColor: "#0875ff", | ||
color: "#fff", | ||
padding: "10px 20px", | ||
border: "none", | ||
borderRadius: "5px", | ||
cursor: "pointer", | ||
display: "block", | ||
margin: "10px 0", | ||
}} | ||
onClick={() => | ||
window.open( | ||
"https://storegrowth.io/docs/stock-bar/", | ||
"_blank" | ||
) | ||
} | ||
> | ||
Documentaion | ||
</button> | ||
</div> | ||
</div> | ||
</FieldWrapper> | ||
); | ||
}; | ||
|
||
export default SettingInstruction; |