Jump to content
Sign in to follow this  

Specific Price Range = 0.- on product page | where r these smarty variables being assigned?

Recommended Posts

Hello Everyone

I have a problem with specific prices. The products have no combination (most of the posts I looked through are combination related) and have a e.g. 20% discount starting at 10 pieces.

On the product page when I click on the plus button to increase the amount to meet the range of the specific price the price value changes to zero. I found out that the JS behind the price change relies on attributes inside the <tr> tag of "volume discounts" section (data-real-discount-value). The "data-real-discount-value" attribute has the content "CHF 0,00" and this is being displayed then to the user as soon as the quantity meets the requirement.

I have no idea how to investigate further. I would now look in the place where the values are assigned to smarty variables, but have no idea where this is. Can you tell me where the values are being assigned to the smarty variables (e.g. {$productPrice})?

I came up with the idea of replacing the files that are needed to show the product page with a minor release version farther. Speaking of actual version I'd like to copy some files from version on a test environment. Now I just don't know what files to copy. Can someone tell me what files are all included in the process of displaying the products price on the product page so I can only replace these ones? I cannot update my shop as it's connected to other shops with self made ex and importer tools.

Thanks a lot for any help!!


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More