This commit is contained in:
Nicolas Bally 2019-03-12 15:50:19 +01:00
parent e5d25ef2e9
commit aeb445e4f2
2 changed files with 33 additions and 31 deletions

View File

@ -10,6 +10,7 @@
.img.with_ratio{:style => ("background: grey url('"+(p_product.image_file.file.large.medium.small.thumb.url if p_product.image_file).to_s+"?u="+(p_product.image_file.updated_at if p_product.image_file).to_s+"') no-repeat center center;background-size:contain;" ), :data => {:ratio => "1.10"}} .img.with_ratio{:style => ("background: grey url('"+(p_product.image_file.file.large.medium.small.thumb.url if p_product.image_file).to_s+"?u="+(p_product.image_file.updated_at if p_product.image_file).to_s+"') no-repeat center center;background-size:contain;" ), :data => {:ratio => "1.10"}}
-if current_p_customer.account_validated
-if p_product.get_prices(current_p_customer).first -if p_product.get_prices(current_p_customer).first
%p.price %p.price
-if p_product.get_prices(current_p_customer).count > 1 -if p_product.get_prices(current_p_customer).count > 1

View File

@ -26,6 +26,7 @@
-if @p_product.get_prices(current_p_customer).count > 0 and @p_product.get_prices(current_p_customer).first.price > 0.0 -if @p_product.get_prices(current_p_customer).count > 0 and @p_product.get_prices(current_p_customer).first.price > 0.0
.sub_header .sub_header
-if current_p_customer.account_validated
.right .right
-if @p_product.get_prices(current_p_customer).count > 1 -if @p_product.get_prices(current_p_customer).count > 1