{"action":"opened","issue":{"url":"https://api.github.com/repos/OCA/e-commerce/issues/229","repository_url":"https://api.github.com/repos/OCA/e-commerce","labels_url":"https://api.github.com/repos/OCA/e-commerce/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/OCA/e-commerce/issues/229/comments","events_url":"https://api.github.com/repos/OCA/e-commerce/issues/229/events","html_url":"https://github.com/OCA/e-commerce/issues/229","id":284409790,"number":229,"title":"website_sale_hide_price","user":{"login":"larmar","id":5284745,"avatar_url":"https://avatars2.githubusercontent.com/u/5284745?v=4","gravatar_id":"","url":"https://api.github.com/users/larmar","html_url":"https://github.com/larmar","followers_url":"https://api.github.com/users/larmar/followers","following_url":"https://api.github.com/users/larmar/following{/other_user}","gists_url":"https://api.github.com/users/larmar/gists{/gist_id}","starred_url":"https://api.github.com/users/larmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larmar/subscriptions","organizations_url":"https://api.github.com/users/larmar/orgs","repos_url":"https://api.github.com/users/larmar/repos","events_url":"https://api.github.com/users/larmar/events{/privacy}","received_events_url":"https://api.github.com/users/larmar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-25T06:25:38Z","updated_at":"2017-12-25T06:25:38Z","closed_at":null,"author_association":"NONE","body":"I have been using similar code. But I have also removed the Add to cart button and variants.\r\n\r\nYou don't want the user to see variant prices, like 16GB/32GB ipod\r\nAnd you don't want users to \"add to cart\" and see the price \r\nI would suggest to enhance this mod with that.\r\n\r\nThe code sample I use in v11 ( specific for Public user ) Your mode is more general:-)  \r\n```\r\n<t t-if=\"not user_id._is_public()\">\r\n   <t t-call=\"website_sale.product_price\"/>\r\n   <p t-if=\"len(product.product_variant_ids) &gt; 1\" class=\"css_not_available_msg bg-danger\" style=\"padding:15px;\">This combination does not exist.</p>\r\n   <a id=\"add_to_cart\" class=\"btn btn-primary btn-lg mt8 js_check_product a-submit\" href=\"#\">Add to Cart</a>\r\n</t>\r\n```\r\n\r\n"}}
{"actor":{"display_login":"larmar"}}