pinterest-site-verification=f733925c88b2d69d81e4298adc53ac40 import tkinter as tk from tkinter import messagebox import requests FORMSPREE_ENDPOINT = 'https://formspree.io/f/xlekqpdy' class App: def __init__(self): self.selected_options = {} self.window = tk.Tk() # Create the main window self.create_labels() # Create labels self.create_buttons() # Create buttons self.create_email_entry() # Create email entry field self.create_submit_button() # Create submit button def create_labels(self): labels = ["Dress Type", "Size", "Color", "Sleeve Type", "Fabric Type", "Lace", "Beading", "Train Length"] for label_text in labels: label = tk.Label(self.window, text=label_text + ":") label.pack() def create_buttons(self): button_data = [ { "name": "Dress Type", "options": ['Mermaid', 'Ball Gown', 'Sheath'], # Replace with actual wedding dress types }, { "name": "Size", "options": ['S', 'M', 'L'], # Replace with your own sizes }, { "name": "Color", "options": ['Red', 'Blue', 'Green'], # Replace with your own colors }, { "name": "Sleeve Type", "options": ['Short Sleeve', 'Long Sleeve', 'Sleeveless'], # Replace with actual sleeve types }, { "name": "Fabric Type", "options": ['Silk', 'Lace', 'Tulle'], # Replace with actual fabric types }, { "name": "Lace", "options": ['With Lace', 'Without Lace'], # Replace with actual lace options }, { "name": "Beading", "options": ['With Beading', 'Without Beading'], # Replace with actual beading options }, { "name": "Train Length", "options": ['Short', 'Medium', 'Long'], # Replace with actual train lengths } ] for button_info in button_data: frame = tk.Frame(self.window) frame.pack() label = tk.Label(frame, text=button_info["name"] + ":") label.pack(side=tk.LEFT) buttons = {} for option in button_info["options"]: button = tk.Button( frame, text=option, command=lambda opt=option, btns=buttons, cat=button_info["name"]: self.on_button_selected(cat, opt, btns) ) button.pack(side=tk.LEFT) buttons[option] = button self.selected_options[button_info["name"]] = None def create_email_entry(self): email_label = tk.Label(self.window, text="Email:") email_label.pack() self.email_entry = tk.Entry(self.window) self.email_entry.pack() def create_submit_button(self): submit_button = tk.Button(self.window, text="Submit", command=self.submit_form) submit_button.pack() def on_button_selected(self, category, option, buttons): self.selected_options[category] = option for btn in buttons.values(): btn.config(relief=tk.RAISED) buttons[option].config(relief=tk.SUNKEN) def submit_form(self): selected_options = list(self.selected_options.values()) email = self.email_entry.get() if None in selected_options or not email: messagebox.showerror("Error", "Please select all options and enter your email.") return self.send_email_to_formspree(selected_options, email) def send_email_to_formspree(self, user_choices, email): form_data = { 'email': email, 'choices': str(user_choices) # Convert the choices to a string } try: response = requests.post(FORMSPREE_ENDPOINT, data=form_data) response.raise_for_status() messagebox.showinfo("Success", "Form submitted successfully!") self.clear_selections() except requests.exceptions.RequestException as e: print("Error:", e) messagebox.showerror("Error", "Failed to submit form.") def clear_selections(self): self.selected_options = {} self.email_entry.delete(0, tk.END) self.window.destroy()
top of page

Finding the Perfect Wedding Dress: Choosing Your Shopping Squad

Dear Brides-to-Be,

Congratulations! You're about to embark on one of the most exciting journeys of wedding planning: finding your dream wedding dress. As you gear up for this unforgettable experience, one question looms large: who should accompany you on this special shopping trip?

Choosing your entourage wisely is key to ensuring a stress-free and enjoyable dress shopping experience. Here are a few tips to help you assemble the perfect squad:



  1. Keep It Personal: Your wedding dress is a reflection of your unique personality and style. When selecting your shopping companions, prioritize those who know you best and understand your individual preferences. Whether it's your sister, your best friend, or a close family member, choose people who will support and celebrate your vision.

  2. Positive Vibes Only: Surround yourself with positivity! Opt for individuals who will uplift you and offer constructive feedback without being overly critical or negative. You want your shopping companions to share in your excitement and help create a fun and memorable atmosphere.

  3. Honesty with Kindness: While it's important to have people who will give honest feedback, it's equally crucial that this feedback is delivered with kindness and tact. Look for individuals who can offer helpful insights while respecting your feelings and choices. Remember, the goal is to find a dress that makes you feel confident and beautiful.

  4. Consider Financial Contributions: If someone is assisting with the cost of the dress, it's natural to include them in the shopping experience. However, don't feel pressured to invite anyone solely based on financial obligations. Ultimately, this decision should be based on your comfort level and the dynamic of your relationship.

  5. Solo Shopping is OK: Don't be afraid to go solo or bring just one trusted companion. Many brides find that having fewer opinions allows them to focus more on what they truly want. Whether you choose to fly solo or bring a small entourage, prioritize your own happiness and comfort.

Remember, the most important opinion when it comes to your wedding dress is yours. Trust your instincts, stay true to your style, and enjoy every moment of this once-in-a-lifetime experience.

Happy shopping!


Book Your Appointment With Sparkle & Sass by Stacie Below




 
 
 

Comments


bottom of page