When user selects the option (NOTE: there are 3 or more options available for that product) on the 'Product details' page and click on the button 'Add To Cart', he gets redirected to the 'Shopping Cart' page with the details of the selected option.
We need to change the title of that 'custom option' being pulled from 'Product details' page at the 'Shopping Cart' page.
Product displayed with 3 options (Room type, Start Date , End Date) on 'Product details' page>> User selects the Room type (Delux), start date (08/15/2015) and end date (08/20/2015) and click the button 'Add to Cart'>> User gets redirected to the 'Shopping Cart' page with the selected values: 'Delux' ,'08/15/2015', '08/20/2015'.
Now, I want to display the title from 'Room' to 'Room 5 Days' (i.e. Calculated Day (Total days) = End date - Start date) (Note: This change SHOULD happen during the transition (code processing) from one page to another after user click). Also, this change should be reflected everywhere across but not limited to order confirmation email, admin screen etc.
Thanks for your response @theMageComp @KuafuSoft. I believe my question wasn't clear enough earlier. Please review it here again and provide your valuable assistance.
Im not 100% sure this is one change for all pages, but defenitely a starting point for you
overwrite Mage_Catalog_Helper_Product_Configuration::getCustomOptions and
modify the 'value' and 'print_value' key in the result as you need
You required to use the same thing in all the places. I suggest you that if possible change the custom options title similar to your requriement.
Our team has resolved this issue .
Thank you for the the help.
If any of the above solution has helped, you can mark it as a solution. Or you can share the solution which worked for you so that if anyone has the same query this thread can help him/her.
We have followed the simple steps mentioned in below URL.