Hi everyone,
I recently created a 3D viewer for a chair for a French client, which they have integrated into their website. This viewer allows the price of the product to be displayed.
My client now has a new request:
The price of the chair needs to vary based on the customer’s location, as the prices differ depending on the city. For example:
Paris: €250 per chair
Marseille (a city in the south of France): €225 per chair
Cannes: €275 per chair
To address this, I initially thought about duplicating my Verge3D scene and modifying the code to display the correct price for each location. This would result in three different links (one for each price).
Before entering my client’s website, users can select their city, which would then display the corresponding link with the appropriate price.
However, there’s a problem with this approach: if my client asks for a modification to the 3D model, I’d have to apply the same changes to all three scenes, which isn’t very efficient.
So, my question is:
Is there a way to keep a single 3D scene while having multiple links that display the corresponding price for each city? This would avoid duplicating the scene just to change a single line of code.
I understand this isn’t a simple issue, and I’m not very skilled in coding, but I’d love to hear your thoughts or suggestions.
Thanks in advance for your help!