-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] theme_bookstore: theme improvement
Revamp of `theme_bookstore` task-4178030
- Loading branch information
Showing
22 changed files
with
351 additions
and
405 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 modified
BIN
+672 Bytes
(100%)
theme_bookstore/static/description/bookstore_description.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
497 changes: 163 additions & 334 deletions
497
theme_bookstore/static/description/theme_bookstore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_accordion" inherit_id="website.s_accordion"> | ||
<!-- Accordion --> | ||
<xpath expr="//div[contains(@t-attf-class, 'accordion')]/div" position="attributes"> | ||
<attribute name="t-attf-class" add="s_accordion_highlight" separator=" "/> | ||
</xpath> | ||
<!-- Question 1 --> | ||
<xpath expr="(//div[hasclass('accordion-item')])[1]//span" position="replace" mode="inner"> | ||
What is your return policy? | ||
</xpath> | ||
<xpath expr="(//div[hasclass('accordion-item')])[1]//p" position="replace" mode="inner"> | ||
We accept returns within 30 days of purchase, provided the book is in its original condition and accompanied by the receipt. Refunds will be issued in the original form of payment. Please note that certain items, like discounted or final sale items, may not be eligible for return. | ||
</xpath> | ||
<!-- Question 2 --> | ||
<xpath expr="(//div[hasclass('accordion-item')])[1]//span" position="replace" mode="inner"> | ||
Do you offer gift cards? | ||
</xpath> | ||
<xpath expr="(//div[hasclass('accordion-item')])[1]//p" position="replace" mode="inner"> | ||
Yes, we offer both physical and digital gift cards in various amounts. Physical gift cards can be purchased in-store or online and shipped to the recipient, while digital gift cards are sent instantly via email. Both types can be used for online and in-store purchases. | ||
</xpath> | ||
<!-- Question 3 --> | ||
<xpath expr="(//div[hasclass('accordion-item')])[1]//span" position="replace" mode="inner"> | ||
Can I request a book that's out of stock? | ||
</xpath> | ||
<xpath expr="(//div[hasclass('accordion-item')])[1]//p" position="replace" mode="inner"> | ||
Absolutely! If a book is out of stock, you can place a special order through our website or by visiting the store. We'll notify you once the book is back in stock, and you can choose to pick it up in-store or have it shipped to your address. Special orders typically take 1-2 weeks to fulfill, depending on availability. | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
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,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_accordion_image" inherit_id="website.s_accordion_image"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" remove="o_cc2 pt56 pb56" add="o_cc1 pt80 pb80" separator=" "/> | ||
</xpath> | ||
<!-- Title --> | ||
<xpath expr="//h2" position="replace" mode="inner"> | ||
Frequently Asked Questions | ||
</xpath> | ||
<!-- Paragraph --> | ||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner"> | ||
Find quick answers to common questions about our books, services, and policies. | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.