• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 18.02.16, 17:28
  • Opened by: Alex
  • Closed by: Marek
  • Closed on: 29.08.17, 23:29
  • Reason: Closed
  • Comment: Glad to help!

Ticket #9205 - al4.5 group price issue - update product.js

For fixing group price issue need update the product.js file

Copy product.js from default theme and add these variables to the product.tpl (took them from the default product.tpl)

{addJsDef productPriceTaxIncluded=($product->getPriceWithoutReduct(false)|default:'null' - $product->ecotax * (1 + $ecotaxTax_rate / 100))|floatval}

this variable

{addJsDef group_reduction=$group_reduction}

change to this

{if isset($group_reduction)}
	{addJsDef groupReduction=$group_reduction|floatval}
{else}
	{addJsDef groupReduction=false}
{/if}

Comments

No comments yet