Refactor catalog/product/price.phtml
I found file, that should be refactored. It migrated from Magento 1.x. For now we have 400+ lines in view file. https://github.com/magento/magento2/blob/master/app/code/Magento/Catalog/view/frontend/product/price.phtml
:+1:
+1000 that file needs a :bomb: or :gun: or at least :scissors: please please please :pray:
:thumbsup: Clean that :poop: up
:+1: :+1: :+1:
Hell yes :thumbsup:
:+1:
I :heart: :lantern:
Yes Yes Yes! ;)
Hasn't this (price display logic) already been refactored, and this template is just legacy/accident?
[image: Blue Acorn]
Benjamin H. Marks Director of Development | [email protected] | @benmarkshttp://twitter.com/benmarks
o: 843-641-0045 | m: 843-670-4240 | skype: blueacorn_ben
Blue Acorn | www.blueacorn.com Subscribe to our Blog http://www.blueacorn.com/feed/ | Follow us on Twitter http://www.twitter.com/blueacorn
Oh please refactor it! :+1:
Anyone who has ever worked with this file will like this idea :-) :+1:
:+1:
I was taking already with core guys to create price renderers per product type and price decorators for applying taxes. Hope they will do it this way :) :+1:
:+1:
Obviously :+1:
When I need to open this template it makes me sad and somewhere in the world a helpless kitten dies. :+1:
I wish I could work on websites that give away products for free for not having to open this file. But this does not happen. (Y)
Please!
It'd be really nice to have this in a named block as well, makes esi easier for price per customer
On Sunday, November 10, 2013, Alisson Oldoni wrote:
Please!
— Reply to this email directly or view it on GitHubhttps://github.com/magento/magento2/issues/403#issuecomment-28163250 .
Jonas Cooper Lethal Performance http://www.lethalperformance.com [email protected] 561.753.8105
*This e-mail message, including any attachments, is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and/or confidential. If you are not the intended recipient or the employee or agent responsible for delivering the communication to the intended recipient, please notify us immediately by replying to this message and then delete this message from your system. You are hereby notified that any use, dissemination, distribution and/or reproduction of this message and/or any attachments by unintended recipients is unauthorized and may be unlawful. Furthermore, although we have taken precautions to minimize the risk of transmitting software viruses, we advise you to perform your own virus checks on any attachment to this message. We do not accept liability for any loss or damage caused by software viruses. *
Hi All, we have addressed the issue in our backlog, and we will work on improving the template. If you have specific issues to share with us - please do not hesitate and let us know.
@maksek, any updates on this issue?