frederic-cvs-nhlstenden / sockstream

MIT License
0 stars 0 forks source link

[IMPROVEMENT] classic/seasonal store page #2

Open edoardo-morosanu opened 5 days ago

edoardo-morosanu commented 5 days ago

Description

Make the store page dynamic to switch between the classic and the seasonal store.

Proposed Improvement

create a single file for the store, with the contents of the page being dynamic based on an id that is being returned from the header based on the button that is being clicked.

Benefits

More optimized and faster than having to create a different page for the seasonal store.

Additional Context

Follow this structure:

pages/
├── store_page.php
└── store_contents/
    ├── classic.php
    └── seasonal.php