REDOUANE Posted February 21, 2020 Share Posted February 21, 2020 Hello, I want to display domain name and price in product configuration, i have display domain name but i can't display domain price, if someone can help me with this ? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 21, 2020 Share Posted February 21, 2020 48 minutes ago, REDOUANE said: I want to display domain name and price in product configuration, i have display domain name but i can't display domain price, if someone can help me with this ? the templates, configureproduct and ordersummary, wouldn't have access to the domain price at that stage. if memory serves (and which you seem to have confirmed!), you'll have access to the domain name (from which you will be able to get the TLD) and period in both templates and that should be enough to pull a price from either the database or a feed... though the complicating factors are that you might also have to determine in the client is logged if and if they belong to a client group with a pricing slab; if there are promotion codes at play that could affect the domain price. in configureproduct, you would at least have the option of a hook, whereas with ordersummary, I suspect you'd have to do everything in Smarty with no direct access to the database, so a domain price feed could be used. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.