diff --git a/app/Http/Controllers/FaqController.php b/app/Http/Controllers/FaqController.php new file mode 100644 index 0000000..c8f5296 --- /dev/null +++ b/app/Http/Controllers/FaqController.php @@ -0,0 +1,45 @@ +sections, 'faq-sections') + ->map(function (StoicFaqSection $section) use ($placeholders) { + $section->items = Stoic::localizedRelation(StoicFaq::class, $section->faqs, 'faqs') + ->map(fn (StoicFaq $faq) => $faq->forceFill([ + 'answer' => Str::markdown($placeholders->fill($faq->content ?? '')), + ])); + + return $section; + }) + ->filter(fn (StoicFaqSection $section) => $section->items->isNotEmpty()) + ->values(); + + return view('faq', [ + 'page' => $page, + 'sections' => $sections, + ]); + } +} diff --git a/app/Http/Controllers/LegalPageController.php b/app/Http/Controllers/LegalPageController.php index f0f4ac2..6986e66 100644 --- a/app/Http/Controllers/LegalPageController.php +++ b/app/Http/Controllers/LegalPageController.php @@ -3,26 +3,12 @@ namespace App\Http\Controllers; use App\Models\StoicPage; -use Modules\Core\Store\Services\StoreDetailsService; +use App\Support\StorePlaceholders; class LegalPageController extends Controller { - /** - * {placeholder} => StoreDetails column, usable in the Stoic legal page - * markdown. - */ - private const PLACEHOLDERS = [ - '{store_name}' => 'name', - '{store_address}' => 'address', - '{store_phone}' => 'phone', - '{store_contact_email}' => 'contact_email', - '{store_legal_name}' => 'legal_name', - '{store_tax_identifier}' => 'tax_identifier', - '{store_registration_number}' => 'registration_number', - ]; - public function __construct( - private readonly StoreDetailsService $storeDetails, + private readonly StorePlaceholders $placeholders, ) {} public function terms(string $locale) @@ -55,22 +41,7 @@ private function show(string $slug) return view('legal', [ 'page' => $page, - 'content' => $this->fillPlaceholders($page->content ?? ''), + 'content' => $this->placeholders->fill($page->content ?? ''), ]); } - - /** - * Swapped in before the markdown is rendered, so values are escaped: the - * rendered markdown is printed unescaped. An empty field renders as - * nothing rather than leaving the raw placeholder on the page. - */ - private function fillPlaceholders(string $content): string - { - $details = $this->storeDetails->current(); - - return strtr($content, array_map( - fn (string $column) => e((string) ($details->translate($column) ?? '')), - self::PLACEHOLDERS, - )); - } } diff --git a/app/Models/StoicFaq.php b/app/Models/StoicFaq.php new file mode 100644 index 0000000..7a40300 --- /dev/null +++ b/app/Models/StoicFaq.php @@ -0,0 +1,18 @@ +filter() + ->map(fn($entry) => $entry->forceFill( + static::localeOverrides("{$folder}/{$entry->slug}.md"), + )) + ->values(); + } + public static function hasOne( string $relation, string $slug, diff --git a/app/Support/StorePlaceholders.php b/app/Support/StorePlaceholders.php new file mode 100644 index 0000000..9f13e05 --- /dev/null +++ b/app/Support/StorePlaceholders.php @@ -0,0 +1,41 @@ + StoreDetails column, usable in Stoic markdown (legal pages, + * FAQ answers). + */ +class StorePlaceholders +{ + private const PLACEHOLDERS = [ + '{store_name}' => 'name', + '{store_address}' => 'address', + '{store_phone}' => 'phone', + '{store_contact_email}' => 'contact_email', + '{store_legal_name}' => 'legal_name', + '{store_tax_identifier}' => 'tax_identifier', + '{store_registration_number}' => 'registration_number', + ]; + + public function __construct( + private readonly StoreDetailsService $storeDetails, + ) {} + + /** + * Swapped in before the markdown is rendered, so values are escaped: the + * rendered markdown is printed unescaped. An empty field renders as + * nothing rather than leaving the raw placeholder on the page. + */ + public function fill(string $content): string + { + $details = $this->storeDetails->current(); + + return strtr($content, array_map( + fn (string $column) => e((string) ($details->translate($column) ?? '')), + self::PLACEHOLDERS, + )); + } +} diff --git a/resources/css/app.css b/resources/css/app.css index c87e3b6..8172a83 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -467,20 +467,16 @@ @layer components { /* Typography for markdown rendered from Stoic legal-page bodies (h1.h6, p, lists, links, tables) — a plain set of descendant selectors, not expressible as utilities on the wrapper alone since the markup itself is generated by Str::markdown(). */ - .legal-content { - @apply text-neutral-700; - } - .legal-content > * + * { @apply mt-6; } .legal-content h2 { - @apply font-display text-2xl font-bold text-black; + @apply font-display text-2xl font-bold; } .legal-content h3 { - @apply font-display text-xl font-bold text-black; + @apply font-display text-xl font-bold; } .legal-content ul, @@ -497,11 +493,11 @@ @layer components { } .legal-content a { - @apply underline hover:text-black; + @apply underline; } .legal-content strong { - @apply font-bold text-black; + @apply font-bold; } /* Wide tables scroll sideways on phones instead of pushing the page wider. */ diff --git a/resources/stoic/content/el/faq-sections/orders-payment.md b/resources/stoic/content/el/faq-sections/orders-payment.md new file mode 100644 index 0000000..19973e2 --- /dev/null +++ b/resources/stoic/content/el/faq-sections/orders-payment.md @@ -0,0 +1,10 @@ +--- +name: "Παραγγελίες & πληρωμή" +slug: "orders-payment" +faqs: + - faqs/how-to-order + - faqs/payment-methods + - faqs/payment-security + - faqs/order-confirmation + - faqs/cancel-or-change-order +--- diff --git a/resources/stoic/content/el/faq-sections/products.md b/resources/stoic/content/el/faq-sections/products.md new file mode 100644 index 0000000..42996ec --- /dev/null +++ b/resources/stoic/content/el/faq-sections/products.md @@ -0,0 +1,12 @@ +--- +name: "Τα προϊόντα μας" +slug: "products" +faqs: + - faqs/how-products-are-made + - faqs/layer-lines-imperfections + - faqs/colors-and-photos + - faqs/durability-and-use + - faqs/product-care + - faqs/food-and-kids + - faqs/personalised-products +--- diff --git a/resources/stoic/content/el/faq-sections/returns.md b/resources/stoic/content/el/faq-sections/returns.md new file mode 100644 index 0000000..1f3a2ad --- /dev/null +++ b/resources/stoic/content/el/faq-sections/returns.md @@ -0,0 +1,10 @@ +--- +name: "Επιστροφές & εγγύηση" +slug: "returns" +faqs: + - faqs/return-policy + - faqs/return-shipping-cost + - faqs/refund-time + - faqs/non-returnable + - faqs/defective-product +--- diff --git a/resources/stoic/content/el/faq-sections/shipping.md b/resources/stoic/content/el/faq-sections/shipping.md new file mode 100644 index 0000000..575ff84 --- /dev/null +++ b/resources/stoic/content/el/faq-sections/shipping.md @@ -0,0 +1,12 @@ +--- +name: "Αποστολή & παράδοση" +slug: "shipping" +faqs: + - faqs/preparation-time + - faqs/shipping-cost + - faqs/shipping-destinations + - faqs/delivery-time + - faqs/box-now + - faqs/order-tracking + - faqs/damaged-parcel +--- diff --git a/resources/stoic/content/el/faqs/box-now.md b/resources/stoic/content/el/faqs/box-now.md new file mode 100644 index 0000000..8c90f5e --- /dev/null +++ b/resources/stoic/content/el/faqs/box-now.md @@ -0,0 +1,6 @@ +--- +name: "Πώς λειτουργεί το BOX NOW;" +slug: "box-now" +--- + +Το BOX NOW είναι αυτόματα lockers σε σημεία σε όλη την Ελλάδα. Διαλέγεις το locker που σε βολεύει στο ταμείο και, όταν φτάσει το δέμα, λαμβάνεις SMS και email με τον κωδικό για να το παραλάβεις, όποια ώρα θες. diff --git a/resources/stoic/content/el/faqs/cancel-or-change-order.md b/resources/stoic/content/el/faqs/cancel-or-change-order.md new file mode 100644 index 0000000..b146b4d --- /dev/null +++ b/resources/stoic/content/el/faqs/cancel-or-change-order.md @@ -0,0 +1,8 @@ +--- +name: "Μπορώ να ακυρώσω ή να αλλάξω την παραγγελία μου;" +slug: "cancel-or-change-order" +--- + +Γράψε μας το συντομότερο στο [{store_contact_email}](mailto:{store_contact_email}) με τον αριθμό της παραγγελίας σου. + +Αν η εκτύπωση δεν έχει ξεκινήσει ακόμα, την ακυρώνουμε ή την αλλάζουμε και σου επιστρέφουμε τα χρήματα. Αν έχει ήδη ξεκινήσει, ισχύει η κανονική πολιτική επιστροφών. diff --git a/resources/stoic/content/el/faqs/colors-and-photos.md b/resources/stoic/content/el/faqs/colors-and-photos.md new file mode 100644 index 0000000..abacc8b --- /dev/null +++ b/resources/stoic/content/el/faqs/colors-and-photos.md @@ -0,0 +1,6 @@ +--- +name: "Το προϊόν θα είναι ακριβώς ίδιο με τη φωτογραφία;" +slug: "colors-and-photos" +--- + +Πολύ κοντά, αλλά όχι πάντα πανομοιότυπο. Η απόχρωση μπορεί να διαφέρει λίγο ανάλογα με την οθόνη σου και την παρτίδα του υλικού. Επειδή κάθε κομμάτι εκτυπώνεται ξεχωριστά, μπορεί να υπάρχουν και μικρές διαφορές στο φινίρισμα. diff --git a/resources/stoic/content/el/faqs/damaged-parcel.md b/resources/stoic/content/el/faqs/damaged-parcel.md new file mode 100644 index 0000000..be5cf15 --- /dev/null +++ b/resources/stoic/content/el/faqs/damaged-parcel.md @@ -0,0 +1,6 @@ +--- +name: "Τι κάνω αν το προϊόν φτάσει χαλασμένο;" +slug: "damaged-parcel" +--- + +Λυπούμαστε! Στείλε μας το συντομότερο στο [{store_contact_email}](mailto:{store_contact_email}) τον αριθμό της παραγγελίας και φωτογραφίες του προϊόντος και της συσκευασίας. Θα το εξετάσουμε και θα βρούμε λύση, σύμφωνα με τον νόμο. diff --git a/resources/stoic/content/el/faqs/defective-product.md b/resources/stoic/content/el/faqs/defective-product.md new file mode 100644 index 0000000..3d7e0b3 --- /dev/null +++ b/resources/stoic/content/el/faqs/defective-product.md @@ -0,0 +1,8 @@ +--- +name: "Τι ισχύει αν το προϊόν έχει ελάττωμα;" +slug: "defective-product" +--- + +Όλα τα προϊόντα καλύπτονται από τη νόμιμη εγγύηση των 2 ετών. Αν κάτι δεν είναι όπως πρέπει, γράψε μας στο [{store_contact_email}](mailto:{store_contact_email}) με τον αριθμό της παραγγελίας και φωτογραφίες, και θα το επισκευάσουμε, θα το αντικαταστήσουμε ή θα σου επιστρέψουμε τα χρήματα. + +Οι γραμμές στρώσεων και οι μικρές διαφορές της 3D εκτύπωσης δεν θεωρούνται ελάττωμα. diff --git a/resources/stoic/content/el/faqs/delivery-time.md b/resources/stoic/content/el/faqs/delivery-time.md new file mode 100644 index 0000000..41ae0a2 --- /dev/null +++ b/resources/stoic/content/el/faqs/delivery-time.md @@ -0,0 +1,6 @@ +--- +name: "Πότε θα φτάσει η παραγγελία μου;" +slug: "delivery-time" +--- + +Ο συνολικός χρόνος είναι ο χρόνος προετοιμασίας (2 έως 7 εργάσιμες) συν τον χρόνο της μεταφορικής. Η μεταφορά διαρκεί συνήθως 1 έως 3 εργάσιμες για την ηπειρωτική Ελλάδα και λίγο περισσότερο για νησιά και Κύπρο. diff --git a/resources/stoic/content/el/faqs/durability-and-use.md b/resources/stoic/content/el/faqs/durability-and-use.md new file mode 100644 index 0000000..b4a89dc --- /dev/null +++ b/resources/stoic/content/el/faqs/durability-and-use.md @@ -0,0 +1,8 @@ +--- +name: "Πόσο αντέχουν τα προϊόντα;" +slug: "durability-and-use" +--- + +Όλα τα προϊόντα είναι σχεδιασμένα και κατασκευασμένα είτε για διακόσμηση είτε για χρήση σε λογικά, ρεαλιστικά πλαίσια, εκτός αν η περιγραφή του προϊόντος λέει κάτι διαφορετικό. + +Υπερβολική ισχύς, υψηλότατες θερμοκρασίες και αποσυναρμολόγηση μπορεί να προκαλέσουν ζημιά στο προϊόν, για την οποία δεν ευθύνεται το 3Dealer. diff --git a/resources/stoic/content/el/faqs/food-and-kids.md b/resources/stoic/content/el/faqs/food-and-kids.md new file mode 100644 index 0000000..6b31704 --- /dev/null +++ b/resources/stoic/content/el/faqs/food-and-kids.md @@ -0,0 +1,8 @@ +--- +name: "Είναι κατάλληλα για τρόφιμα ή για μικρά παιδιά;" +slug: "food-and-kids" +--- + +Εκτός αν αναφέρεται διαφορετικά στην περιγραφή, τα προϊόντα δεν προορίζονται για επαφή με τρόφιμα ή ποτά. + +Δεν είναι παιχνίδια και κάποια έχουν μικρά κομμάτια. Κράτα τα μακριά από μικρά παιδιά και κατοικίδια. diff --git a/resources/stoic/content/el/faqs/how-products-are-made.md b/resources/stoic/content/el/faqs/how-products-are-made.md new file mode 100644 index 0000000..930363e --- /dev/null +++ b/resources/stoic/content/el/faqs/how-products-are-made.md @@ -0,0 +1,6 @@ +--- +name: "Πώς φτιάχνονται τα προϊόντα;" +slug: "how-products-are-made" +--- + +Όλα τα προϊόντα κατασκευάζονται με τρισδιάστατη εκτύπωση σε ειδικούς εκτυπωτές πλαστικού υλικού. Δεν έχουμε έτοιμο απόθεμα: κάθε κομμάτι εκτυπώνεται και προετοιμάζεται αφού παραγγείλεις, εδώ στην Ελλάδα. diff --git a/resources/stoic/content/el/faqs/how-to-order.md b/resources/stoic/content/el/faqs/how-to-order.md new file mode 100644 index 0000000..a4ad771 --- /dev/null +++ b/resources/stoic/content/el/faqs/how-to-order.md @@ -0,0 +1,8 @@ +--- +name: "Χρειάζεται να φτιάξω λογαριασμό για να παραγγείλω;" +slug: "how-to-order" +--- + +Όχι. Μπορείς να ολοκληρώσεις την παραγγελία σου και ως επισκέπτης, μόνο με το email σου. + +Αν θέλεις λογαριασμό, δεν χρειάζεσαι κωδικό. Βάζεις το email σου, σου στέλνουμε έναν κωδικό σύνδεσης και μπαίνεις. Από τον λογαριασμό σου βλέπεις τις παραγγελίες σου, την πορεία της αποστολής και τα αγαπημένα σου. diff --git a/resources/stoic/content/el/faqs/layer-lines-imperfections.md b/resources/stoic/content/el/faqs/layer-lines-imperfections.md new file mode 100644 index 0000000..27276b3 --- /dev/null +++ b/resources/stoic/content/el/faqs/layer-lines-imperfections.md @@ -0,0 +1,8 @@ +--- +name: "Γιατί βλέπω γραμμές ή μικρές ατέλειες στο προϊόν;" +slug: "layer-lines-imperfections" +--- + +Τα προϊόντα πιθανώς να έχουν εμφανείς γραμμές ένωσης, στρώσεις εκτύπωσης υλικού και μικρές ατέλειες. Είναι φυσιολογικό για το αποτέλεσμα αυτής της δημιουργικής διαδικασίας, γιατί ο εκτυπωτής χτίζει το αντικείμενο στρώση στρώση. + +Αυτά τα χαρακτηριστικά δεν θεωρούνται ελάττωμα. Κάνουν όμως κάθε κομμάτι λίγο μοναδικό. diff --git a/resources/stoic/content/el/faqs/non-returnable.md b/resources/stoic/content/el/faqs/non-returnable.md new file mode 100644 index 0000000..7049b6f --- /dev/null +++ b/resources/stoic/content/el/faqs/non-returnable.md @@ -0,0 +1,8 @@ +--- +name: "Υπάρχουν προϊόντα που δεν επιστρέφονται;" +slug: "non-returnable" +--- + +Ναι. Τα προϊόντα που φτιάχνονται με βάση τις δικές σου προδιαγραφές ή είναι προσωποποιημένα, π.χ. με το όνομά σου ή με δικό σου σχέδιο, δεν επιστρέφονται, όπως προβλέπει ο νόμος. + +Το ότι ένα προϊόν εκτυπώνεται μετά την παραγγελία δεν το κάνει από μόνο του μη επιστρέψιμο. diff --git a/resources/stoic/content/el/faqs/order-confirmation.md b/resources/stoic/content/el/faqs/order-confirmation.md new file mode 100644 index 0000000..0fbb188 --- /dev/null +++ b/resources/stoic/content/el/faqs/order-confirmation.md @@ -0,0 +1,8 @@ +--- +name: "Πώς ξέρω ότι η παραγγελία μου ολοκληρώθηκε;" +slug: "order-confirmation" +--- + +Μόλις ολοκληρωθεί η παραγγελία, σου στέλνουμε email επιβεβαίωσης με όλα τα στοιχεία της. Αν δεν το βλέπεις, έλεγξε και τα spam ή γράψε μας στο [{store_contact_email}](mailto:{store_contact_email}). + +Αν πληρώσεις με τραπεζική κατάθεση, η παραγγελία σου μπαίνει σε παραγωγή μόλις λάβουμε την πληρωμή. diff --git a/resources/stoic/content/el/faqs/order-tracking.md b/resources/stoic/content/el/faqs/order-tracking.md new file mode 100644 index 0000000..eedf835 --- /dev/null +++ b/resources/stoic/content/el/faqs/order-tracking.md @@ -0,0 +1,6 @@ +--- +name: "Πώς παρακολουθώ την αποστολή μου;" +slug: "order-tracking" +--- + +Όταν η παραγγελία σου φύγει, σου στέλνουμε email με τον αριθμό αποστολής. Αν έχεις λογαριασμό, θα βρεις και την πορεία της αποστολής στη σελίδα της παραγγελίας, στον λογαριασμό σου. diff --git a/resources/stoic/content/el/faqs/payment-methods.md b/resources/stoic/content/el/faqs/payment-methods.md new file mode 100644 index 0000000..36ad4de --- /dev/null +++ b/resources/stoic/content/el/faqs/payment-methods.md @@ -0,0 +1,13 @@ +--- +name: "Ποιους τρόπους πληρωμής δέχεστε;" +slug: "payment-methods" +--- + +Μπορείς να πληρώσεις με: + +* Πιστωτική ή χρεωστική κάρτα +* PayPal +* IRIS +* Τραπεζική κατάθεση + +Δεν δεχόμαστε πληρωμή με αντικαταβολή. diff --git a/resources/stoic/content/el/faqs/payment-security.md b/resources/stoic/content/el/faqs/payment-security.md new file mode 100644 index 0000000..3f6453a --- /dev/null +++ b/resources/stoic/content/el/faqs/payment-security.md @@ -0,0 +1,6 @@ +--- +name: "Είναι ασφαλής η πληρωμή;" +slug: "payment-security" +--- + +Ναι. Οι πληρωμές γίνονται μέσω πιστοποιημένων παρόχων πληρωμών. Τα στοιχεία της κάρτας σου δεν περνούν από εμάς και δεν τα αποθηκεύουμε ποτέ. diff --git a/resources/stoic/content/el/faqs/personalised-products.md b/resources/stoic/content/el/faqs/personalised-products.md new file mode 100644 index 0000000..a90091b --- /dev/null +++ b/resources/stoic/content/el/faqs/personalised-products.md @@ -0,0 +1,8 @@ +--- +name: "Μπορώ να παραγγείλω κάτι προσωποποιημένο;" +slug: "personalised-products" +--- + +Σε όσα προϊόντα το επιτρέπουν, θα βρεις τις επιλογές προσωποποίησης στη σελίδα του προϊόντος, πριν το βάλεις στο καλάθι. + +Έχεις μια ιδέα για κάτι που δεν βλέπεις στο κατάστημα; Γράψε μας στο [{store_contact_email}](mailto:{store_contact_email}) και θα σου πούμε αν γίνεται. diff --git a/resources/stoic/content/el/faqs/preparation-time.md b/resources/stoic/content/el/faqs/preparation-time.md new file mode 100644 index 0000000..a598039 --- /dev/null +++ b/resources/stoic/content/el/faqs/preparation-time.md @@ -0,0 +1,8 @@ +--- +name: "Σε πόσο καιρό ετοιμάζεται η παραγγελία μου;" +slug: "preparation-time" +--- + +Όλα τα προϊόντα εκτυπώνονται και προετοιμάζονται κατά παραγγελία. Ο χρόνος προετοιμασίας κυμαίνεται μεταξύ 2 και 7 εργάσιμων ημερών, ανάλογα με το προϊόν και τον όγκο των παραγγελιών. + +Σε περιόδους με πολλή ζήτηση, π.χ. πριν τις γιορτές, μπορεί να χρειαστεί λίγο παραπάνω. Αν υπάρξει σημαντική καθυστέρηση, θα σε ενημερώσουμε. diff --git a/resources/stoic/content/el/faqs/product-care.md b/resources/stoic/content/el/faqs/product-care.md new file mode 100644 index 0000000..f49b29a --- /dev/null +++ b/resources/stoic/content/el/faqs/product-care.md @@ -0,0 +1,11 @@ +--- +name: "Πώς φροντίζω το προϊόν μου;" +slug: "product-care" +--- + +Λίγα πράγματα αρκούν για να κρατήσει χρόνια: + +* Κράτα το μακριά από πηγές θερμότητας, π.χ. καλοριφέρ, φούρνο ή αυτοκίνητο στον ήλιο το καλοκαίρι. Το πλαστικό μπορεί να παραμορφωθεί. +* Απόφυγε τον ήλιο για πολλές ώρες κάθε μέρα, γιατί τα χρώματα μπορεί να ξεθωριάσουν. +* Καθάρισέ το με ένα μαλακό, στεγνό ή ελαφρώς βρεγμένο πανί. Όχι διαλυτικά, οινόπνευμα ή πλυντήριο πιάτων. +* Μην το λυγίζεις και μην το ανοίγεις με δύναμη. diff --git a/resources/stoic/content/el/faqs/refund-time.md b/resources/stoic/content/el/faqs/refund-time.md new file mode 100644 index 0000000..064dcb8 --- /dev/null +++ b/resources/stoic/content/el/faqs/refund-time.md @@ -0,0 +1,8 @@ +--- +name: "Πότε θα πάρω πίσω τα χρήματά μου;" +slug: "refund-time" +--- + +Μέσα σε 14 ημέρες από τη στιγμή που μας ενημέρωσες για την επιστροφή, με τον ίδιο τρόπο που πλήρωσες. Επιστρέφουμε την αξία του προϊόντος και τα αρχικά βασικά μεταφορικά. + +Μπορεί να περιμένουμε να παραλάβουμε το προϊόν, ή να μας δείξεις ότι το έστειλες, πριν κάνουμε την επιστροφή χρημάτων. diff --git a/resources/stoic/content/el/faqs/return-policy.md b/resources/stoic/content/el/faqs/return-policy.md new file mode 100644 index 0000000..2b6ce0a --- /dev/null +++ b/resources/stoic/content/el/faqs/return-policy.md @@ -0,0 +1,10 @@ +--- +name: "Μπορώ να επιστρέψω ένα προϊόν;" +slug: "return-policy" +--- + +Ναι. Έχεις 14 ημερολογιακές ημέρες από την ημέρα που παρέλαβες το προϊόν για να υπαναχωρήσεις από την αγορά, χωρίς να χρειάζεται να μας πεις τον λόγο. + +Στείλε μας email στο [{store_contact_email}](mailto:{store_contact_email}) με τον αριθμό της παραγγελίας σου. Μετά, έχεις άλλες 14 ημέρες για να μας στείλεις το προϊόν, σε καλή κατάσταση και αν γίνεται στη συσκευασία του. + +Δες όλες τις λεπτομέρειες στην πολιτική [Αποστολών & Επιστροφών](/el/shipping-returns). diff --git a/resources/stoic/content/el/faqs/return-shipping-cost.md b/resources/stoic/content/el/faqs/return-shipping-cost.md new file mode 100644 index 0000000..b399486 --- /dev/null +++ b/resources/stoic/content/el/faqs/return-shipping-cost.md @@ -0,0 +1,6 @@ +--- +name: "Ποιος πληρώνει τα μεταφορικά της επιστροφής;" +slug: "return-shipping-cost" +--- + +Τα έξοδα αποστολής για την επιστροφή τα πληρώνεις εσύ. Αν όμως το προϊόν είναι ελαττωματικό ή σου στείλαμε λάθος προϊόν, τα αναλαμβάνουμε εμείς. diff --git a/resources/stoic/content/el/faqs/shipping-cost.md b/resources/stoic/content/el/faqs/shipping-cost.md new file mode 100644 index 0000000..d7da2cc --- /dev/null +++ b/resources/stoic/content/el/faqs/shipping-cost.md @@ -0,0 +1,11 @@ +--- +name: "Πόσο κοστίζουν τα μεταφορικά;" +slug: "shipping-cost" +--- + +Η τιμή είναι ίδια για όλη την Ελλάδα, όποια πόλη ή νησί κι αν είναι: + +* **BOX NOW:** 4 € +* **ΕΛΤΑ Courier:** 5 € + +Για αποστολές στην Κύπρο, το κόστος εμφανίζεται στο ταμείο πριν πληρώσεις. diff --git a/resources/stoic/content/el/faqs/shipping-destinations.md b/resources/stoic/content/el/faqs/shipping-destinations.md new file mode 100644 index 0000000..0e764c0 --- /dev/null +++ b/resources/stoic/content/el/faqs/shipping-destinations.md @@ -0,0 +1,6 @@ +--- +name: "Σε ποιες χώρες στέλνετε;" +slug: "shipping-destinations" +--- + +Στέλνουμε σε όλη την Ελλάδα και στην Κύπρο. diff --git a/resources/stoic/content/el/pages/faq.md b/resources/stoic/content/el/pages/faq.md new file mode 100644 index 0000000..2ccec46 --- /dev/null +++ b/resources/stoic/content/el/pages/faq.md @@ -0,0 +1,16 @@ +--- +name: "Συχνές ερωτήσεις" +slug: "faq" +meta_title: "Συχνές ερωτήσεις" +meta_description: "Όλα όσα θες να ξέρεις για παραγγελίες, πληρωμές, μεταφορικά, επιστροφές και τα 3D εκτυπωμένα προϊόντα μας." +og_image: "" +image: "3dealer-clickers-square.jpeg" +image_alt: "" +heading: "Συχνές ερωτήσεις" +intro: "Όλα όσα θες να ξέρεις για τις παραγγελίες, τα μεταφορικά, τις επιστροφές και τα προϊόντα μας. Δεν βρήκες αυτό που ψάχνεις; Γράψε μας και θα σου απαντήσουμε το συντομότερο." +sections: + - faq-sections/orders-payment + - faq-sections/products + - faq-sections/shipping + - faq-sections/returns +--- diff --git a/resources/stoic/content/en/faq-sections/orders-payment.md b/resources/stoic/content/en/faq-sections/orders-payment.md new file mode 100644 index 0000000..9e6022c --- /dev/null +++ b/resources/stoic/content/en/faq-sections/orders-payment.md @@ -0,0 +1,3 @@ +--- +name: "Orders & payment" +--- diff --git a/resources/stoic/content/en/faq-sections/products.md b/resources/stoic/content/en/faq-sections/products.md new file mode 100644 index 0000000..f5bb48b --- /dev/null +++ b/resources/stoic/content/en/faq-sections/products.md @@ -0,0 +1,3 @@ +--- +name: "Our products" +--- diff --git a/resources/stoic/content/en/faq-sections/returns.md b/resources/stoic/content/en/faq-sections/returns.md new file mode 100644 index 0000000..2fc47cb --- /dev/null +++ b/resources/stoic/content/en/faq-sections/returns.md @@ -0,0 +1,3 @@ +--- +name: "Returns & guarantee" +--- diff --git a/resources/stoic/content/en/faq-sections/shipping.md b/resources/stoic/content/en/faq-sections/shipping.md new file mode 100644 index 0000000..9b20049 --- /dev/null +++ b/resources/stoic/content/en/faq-sections/shipping.md @@ -0,0 +1,3 @@ +--- +name: "Shipping & delivery" +--- diff --git a/resources/stoic/content/en/faqs/box-now.md b/resources/stoic/content/en/faqs/box-now.md new file mode 100644 index 0000000..5abddb9 --- /dev/null +++ b/resources/stoic/content/en/faqs/box-now.md @@ -0,0 +1,5 @@ +--- +name: "How does BOX NOW work?" +--- + +BOX NOW is a network of self-service lockers across Greece. You pick the locker that suits you at checkout and, once your parcel arrives, you get an SMS and email with the code to collect it, at any time. diff --git a/resources/stoic/content/en/faqs/cancel-or-change-order.md b/resources/stoic/content/en/faqs/cancel-or-change-order.md new file mode 100644 index 0000000..bf53d4d --- /dev/null +++ b/resources/stoic/content/en/faqs/cancel-or-change-order.md @@ -0,0 +1,7 @@ +--- +name: "Can I cancel or change my order?" +--- + +Write to us as soon as possible at [{store_contact_email}](mailto:{store_contact_email}) with your order number. + +If printing hasn't started yet, we cancel or change it and refund you. If it has already started, our normal return policy applies. diff --git a/resources/stoic/content/en/faqs/colors-and-photos.md b/resources/stoic/content/en/faqs/colors-and-photos.md new file mode 100644 index 0000000..a0ee48d --- /dev/null +++ b/resources/stoic/content/en/faqs/colors-and-photos.md @@ -0,0 +1,5 @@ +--- +name: "Will my product look exactly like the photo?" +--- + +Very close, but not always identical. The shade can vary slightly depending on your screen and the material batch. Since every piece is printed individually, small differences in finish are also possible. diff --git a/resources/stoic/content/en/faqs/damaged-parcel.md b/resources/stoic/content/en/faqs/damaged-parcel.md new file mode 100644 index 0000000..13118bd --- /dev/null +++ b/resources/stoic/content/en/faqs/damaged-parcel.md @@ -0,0 +1,5 @@ +--- +name: "What if my product arrives damaged?" +--- + +We're sorry! Send us your order number and photos of the product and its packaging as soon as possible at [{store_contact_email}](mailto:{store_contact_email}). We'll look into it and find a solution, as the law provides. diff --git a/resources/stoic/content/en/faqs/defective-product.md b/resources/stoic/content/en/faqs/defective-product.md new file mode 100644 index 0000000..508e712 --- /dev/null +++ b/resources/stoic/content/en/faqs/defective-product.md @@ -0,0 +1,7 @@ +--- +name: "What if my product is defective?" +--- + +Every product is covered by the 2-year legal guarantee. If something isn't right, write to us at [{store_contact_email}](mailto:{store_contact_email}) with your order number and photos, and we'll repair it, replace it or refund you. + +Layer lines and the small variations of 3D printing aren't considered defects. diff --git a/resources/stoic/content/en/faqs/delivery-time.md b/resources/stoic/content/en/faqs/delivery-time.md new file mode 100644 index 0000000..749c8f0 --- /dev/null +++ b/resources/stoic/content/en/faqs/delivery-time.md @@ -0,0 +1,5 @@ +--- +name: "When will my order arrive?" +--- + +Total time is the preparation time (2 to 7 business days) plus the courier's delivery time. Delivery usually takes 1 to 3 business days on the Greek mainland, and a little longer for the islands and Cyprus. diff --git a/resources/stoic/content/en/faqs/durability-and-use.md b/resources/stoic/content/en/faqs/durability-and-use.md new file mode 100644 index 0000000..c6a9ebe --- /dev/null +++ b/resources/stoic/content/en/faqs/durability-and-use.md @@ -0,0 +1,7 @@ +--- +name: "How durable are the products?" +--- + +Every product is designed and made either for decoration or for normal, realistic use, unless its description says otherwise. + +Excessive force, very high temperatures and taking the product apart can damage it, and 3Dealer isn't responsible for that damage. diff --git a/resources/stoic/content/en/faqs/food-and-kids.md b/resources/stoic/content/en/faqs/food-and-kids.md new file mode 100644 index 0000000..d1dbbfe --- /dev/null +++ b/resources/stoic/content/en/faqs/food-and-kids.md @@ -0,0 +1,7 @@ +--- +name: "Are they safe for food or small children?" +--- + +Unless the description says otherwise, products aren't meant to come into contact with food or drinks. + +They aren't toys and some have small parts. Keep them away from small children and pets. diff --git a/resources/stoic/content/en/faqs/how-products-are-made.md b/resources/stoic/content/en/faqs/how-products-are-made.md new file mode 100644 index 0000000..8e005eb --- /dev/null +++ b/resources/stoic/content/en/faqs/how-products-are-made.md @@ -0,0 +1,5 @@ +--- +name: "How are your products made?" +--- + +Every product is made with 3D printing, on dedicated plastic printers. We don't keep ready-made stock: each piece is printed and finished after you order, here in Greece. diff --git a/resources/stoic/content/en/faqs/how-to-order.md b/resources/stoic/content/en/faqs/how-to-order.md new file mode 100644 index 0000000..4502b3a --- /dev/null +++ b/resources/stoic/content/en/faqs/how-to-order.md @@ -0,0 +1,7 @@ +--- +name: "Do I need an account to order?" +--- + +No. You can check out as a guest with just your email. + +If you want an account, there's no password. Enter your email, we send you a login code and you're in. From your account you can see your orders, track shipments and keep your favorites. diff --git a/resources/stoic/content/en/faqs/layer-lines-imperfections.md b/resources/stoic/content/en/faqs/layer-lines-imperfections.md new file mode 100644 index 0000000..4bb5e73 --- /dev/null +++ b/resources/stoic/content/en/faqs/layer-lines-imperfections.md @@ -0,0 +1,7 @@ +--- +name: "Why can I see lines or small imperfections?" +--- + +Products may show visible seams, print layers and small imperfections. That's normal for this creative process, since the printer builds each object layer by layer. + +These marks aren't considered defects. They do make every piece a little unique. diff --git a/resources/stoic/content/en/faqs/non-returnable.md b/resources/stoic/content/en/faqs/non-returnable.md new file mode 100644 index 0000000..7944935 --- /dev/null +++ b/resources/stoic/content/en/faqs/non-returnable.md @@ -0,0 +1,7 @@ +--- +name: "Are there products I can't return?" +--- + +Yes. Products made to your own specifications or personalised, e.g. with your name or your own design, can't be returned, as the law provides. + +A product being printed after you order doesn't, on its own, make it non-returnable. diff --git a/resources/stoic/content/en/faqs/order-confirmation.md b/resources/stoic/content/en/faqs/order-confirmation.md new file mode 100644 index 0000000..f8b7665 --- /dev/null +++ b/resources/stoic/content/en/faqs/order-confirmation.md @@ -0,0 +1,7 @@ +--- +name: "How do I know my order went through?" +--- + +Once your order is placed, we email you a confirmation with all its details. If you can't find it, check your spam folder or write to us at [{store_contact_email}](mailto:{store_contact_email}). + +If you pay by bank transfer, your order goes into production once we receive the payment. diff --git a/resources/stoic/content/en/faqs/order-tracking.md b/resources/stoic/content/en/faqs/order-tracking.md new file mode 100644 index 0000000..f128aa9 --- /dev/null +++ b/resources/stoic/content/en/faqs/order-tracking.md @@ -0,0 +1,5 @@ +--- +name: "How do I track my shipment?" +--- + +When your order ships, we email you its tracking number. If you have an account, you can also follow the shipment on the order's page in your account. diff --git a/resources/stoic/content/en/faqs/payment-methods.md b/resources/stoic/content/en/faqs/payment-methods.md new file mode 100644 index 0000000..ca5fae4 --- /dev/null +++ b/resources/stoic/content/en/faqs/payment-methods.md @@ -0,0 +1,12 @@ +--- +name: "Which payment methods do you accept?" +--- + +You can pay with: + +* Credit or debit card +* PayPal +* IRIS +* Bank transfer + +We don't accept cash on delivery. diff --git a/resources/stoic/content/en/faqs/payment-security.md b/resources/stoic/content/en/faqs/payment-security.md new file mode 100644 index 0000000..e069bc2 --- /dev/null +++ b/resources/stoic/content/en/faqs/payment-security.md @@ -0,0 +1,5 @@ +--- +name: "Is paying online safe?" +--- + +Yes. Payments go through certified payment providers. Your card details never pass through us and we never store them. diff --git a/resources/stoic/content/en/faqs/personalised-products.md b/resources/stoic/content/en/faqs/personalised-products.md new file mode 100644 index 0000000..f00d673 --- /dev/null +++ b/resources/stoic/content/en/faqs/personalised-products.md @@ -0,0 +1,7 @@ +--- +name: "Can I order something personalised?" +--- + +Products that can be personalised show their options on the product page, before you add them to your cart. + +Got an idea for something you don't see in the shop? Write to us at [{store_contact_email}](mailto:{store_contact_email}) and we'll tell you if we can make it. diff --git a/resources/stoic/content/en/faqs/preparation-time.md b/resources/stoic/content/en/faqs/preparation-time.md new file mode 100644 index 0000000..6fe5c78 --- /dev/null +++ b/resources/stoic/content/en/faqs/preparation-time.md @@ -0,0 +1,7 @@ +--- +name: "How long does it take to prepare my order?" +--- + +Every product is printed and prepared to order. Preparation takes 2 to 7 business days, depending on the product and how many orders we have. + +In busy periods, e.g. before the holidays, it may take a little longer. If there's a significant delay, we'll let you know. diff --git a/resources/stoic/content/en/faqs/product-care.md b/resources/stoic/content/en/faqs/product-care.md new file mode 100644 index 0000000..e0c84b8 --- /dev/null +++ b/resources/stoic/content/en/faqs/product-care.md @@ -0,0 +1,10 @@ +--- +name: "How do I take care of my product?" +--- + +A few simple things keep it going for years: + +* Keep it away from heat, e.g. radiators, ovens or a car parked in the summer sun. The plastic can warp. +* Avoid hours of direct sunlight every day, as colors can fade. +* Clean it with a soft, dry or slightly damp cloth. No solvents, alcohol or dishwasher. +* Don't bend it or force it open. diff --git a/resources/stoic/content/en/faqs/refund-time.md b/resources/stoic/content/en/faqs/refund-time.md new file mode 100644 index 0000000..071d9b0 --- /dev/null +++ b/resources/stoic/content/en/faqs/refund-time.md @@ -0,0 +1,7 @@ +--- +name: "When will I get my money back?" +--- + +Within 14 days of telling us about your return, using the same method you paid with. We refund the product price and the original standard shipping cost. + +We may wait until we receive the product, or until you show us you've sent it, before refunding. diff --git a/resources/stoic/content/en/faqs/return-policy.md b/resources/stoic/content/en/faqs/return-policy.md new file mode 100644 index 0000000..c9acd27 --- /dev/null +++ b/resources/stoic/content/en/faqs/return-policy.md @@ -0,0 +1,9 @@ +--- +name: "Can I return a product?" +--- + +Yes. You have 14 calendar days from the day you received your product to withdraw from the purchase, without giving us a reason. + +Email us at [{store_contact_email}](mailto:{store_contact_email}) with your order number. You then have another 14 days to send the product back, in good condition and ideally in its packaging. + +See all the details in our [Shipping & Returns](/en/shipping-returns) policy. diff --git a/resources/stoic/content/en/faqs/return-shipping-cost.md b/resources/stoic/content/en/faqs/return-shipping-cost.md new file mode 100644 index 0000000..a81f569 --- /dev/null +++ b/resources/stoic/content/en/faqs/return-shipping-cost.md @@ -0,0 +1,5 @@ +--- +name: "Who pays for return shipping?" +--- + +You pay the shipping cost to return a product. If the product is defective or we sent you the wrong item, we cover it. diff --git a/resources/stoic/content/en/faqs/shipping-cost.md b/resources/stoic/content/en/faqs/shipping-cost.md new file mode 100644 index 0000000..1e9cc6f --- /dev/null +++ b/resources/stoic/content/en/faqs/shipping-cost.md @@ -0,0 +1,10 @@ +--- +name: "How much is shipping?" +--- + +The price is the same anywhere in Greece, mainland or islands: + +* **BOX NOW:** €4 +* **ELTA Courier:** €5 + +For shipping to Cyprus, the cost is shown at checkout before you pay. diff --git a/resources/stoic/content/en/faqs/shipping-destinations.md b/resources/stoic/content/en/faqs/shipping-destinations.md new file mode 100644 index 0000000..dda5dd9 --- /dev/null +++ b/resources/stoic/content/en/faqs/shipping-destinations.md @@ -0,0 +1,5 @@ +--- +name: "Which countries do you ship to?" +--- + +We ship anywhere in Greece and to Cyprus. diff --git a/resources/stoic/content/en/pages/faq.md b/resources/stoic/content/en/pages/faq.md new file mode 100644 index 0000000..dc7b316 --- /dev/null +++ b/resources/stoic/content/en/pages/faq.md @@ -0,0 +1,7 @@ +--- +name: "FAQ" +meta_title: "Frequently asked questions" +meta_description: "Everything you want to know about orders, payment, shipping, returns and our 3D printed products." +heading: "Frequently asked questions" +intro: "Everything you want to know about orders, shipping, returns and our products. Can't find what you're looking for? Write to us and we'll get back to you as soon as we can." +--- diff --git a/resources/stoic/stoic_schemas.yml b/resources/stoic/stoic_schemas.yml index 0aa8f49..4728ea8 100644 --- a/resources/stoic/stoic_schemas.yml +++ b/resources/stoic/stoic_schemas.yml @@ -191,6 +191,49 @@ schemas: label: Body ui: markdown translatable: true + - name: faq + label: FAQ Page + file: pages/faq.md + fields: + - name: name + label: Name + ui: string + translatable: true + - name: slug + label: Slug + ui: slug + - name: meta_title + label: Meta Title + ui: string + translatable: true + - name: meta_description + label: Meta Description + ui: string + translatable: true + - name: og_image + label: Og Image + ui: image + - name: image + label: "Image (left column)" + ui: image + - name: image_alt + label: "Image description (for screen readers, leave empty if decorative)" + ui: string + translatable: true + - name: heading + label: Heading + ui: string + translatable: true + - name: intro + label: "Intro (paragraph under the heading)" + ui: text + translatable: true + - name: sections + label: "Sections (in display order, each one groups its questions)" + ui: relation + schema: faq-sections + multiple: true + display_field: name - name: settings label: Settings type: singleton @@ -213,3 +256,35 @@ schemas: - name: tiktok_url label: TikTok URL ui: string + - name: faq-sections + label: FAQ Sections + translatable: true + fields: + - name: name + label: "Section title" + ui: string + translatable: true + - name: slug + label: "Slug (also the #anchor in the page URL)" + ui: slug + - name: faqs + label: "Questions (in display order)" + ui: relation + schema: faqs + multiple: true + display_field: name + - name: faqs + label: FAQs + translatable: true + fields: + - name: name + label: Question + ui: string + translatable: true + - name: slug + label: "Slug (also the #anchor in the page URL)" + ui: slug + - name: body + label: Answer + ui: markdown + translatable: true diff --git a/resources/views/components/footer.blade.php b/resources/views/components/footer.blade.php index 23a48c7..fceeb1d 100644 --- a/resources/views/components/footer.blade.php +++ b/resources/views/components/footer.blade.php @@ -12,6 +12,7 @@
{{ $page->intro }}
+ @endif +