One of my clients is looking to integrate a merch shop into their website. The existing merch page is not visually appealing and doesn't match the aesthetic of the client's site. I am considering using AJAX GET to fetch the content of the merch page and then using JavaScript to display only the merchandise section within a div. However, there are several scripts and stylesheets on the merch site that would need to be included for the div to function properly.
Do you think this approach would work effectively? Will the displayed div inherit the styles and scripts from the AJAX'd page? Alternatively, could I place the div inside an iframe?
I'd appreciate any opinions or feedback on this matter.