Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Anjula
Anjula
Brief
We have updated the files 'shopping.js' and 'block_product_details.php' for version 3.6.
 
Description
When zero price warning (on the product settings) and the option 'Allow customers to change the price' (on the product edit page) were enabled, a customer couldn't change the price. The patch now allows to add
a product with the modified price to the cart (with zero price warning enaled).
 
Solution
We would recommend you to download an updated version of the file from here:
http://www.viart.com/downloads/zero_price_fix-3.6.zip
 
Further, extract the above mentioned file into the 'blocks' and 'js' folders of your shop. Do not forget to make a backup copy of the current files in case something goes wrong.
 
nemo (Guest)
nemo (Guest)
Sorry, but this code in the file 'shopping.js', probably not needed? Smile
 
/*
if (pointsPriceControl) {
var pointsPrice = pointsBase + (totalAdditionalPrice * params["points_rate"]);
pointsPriceControl.innerHTML = formatNumber(pointsPrice, params["points_decimals"]);
}
<div id="pr_11_6" style="display: block;">
<div style="margin: 2px 2px 6px 6px; font-weight: bold;">
Accessories: </div>
<input name="property_name_6" value="Accessories" type="hidden">
<input name="property_required_6" value="0" type="hidden">
<input name="property_control_6" value="CHECKBOXLIST" type="hidden">
<input name="property_parent_id_6" value="" type="hidden">
<input name="property_parent_value_id_6" value="" type="hidden">
<input name="property_price_type_6" value="" type="hidden">
<input name="property_price_6" value="" type="hidden">
<input name="property_free_price_type_6" value="" type="hidden">
<input name="property_free_price_amount_6" value="" type="hidden">
<span><div style="margin: 0px 2px 6px;">
<input name="option_price_9" value="139.99" type="hidden">
<input id="item_property_9" name="property_6_1" value="9" onclick="changeProperty(document.form_11); " type="checkbox">
AudioHub
<a style="display: inline;" href="./images/big/AudioHub.jpg" title="AudioHub" onclick="popupImage(this, 'http://localhost/c2s36/'); return false;">
<img src="http://localhost/c2s36/images/icons/view_page.gif" alt="View" width="16" border="0" height="16"></a> (+ $139.99)</div></span>
<input name="property_total_6" value="1" type="hidden"></div>
 
 
*/
 
nemo (Guest)
nemo (Guest)
After this patch is not working correctly "WishList" ...
 
Install ViArt Shop 3.6
Built: Mon Feb 15 19:45:44 2010
'Shopping.js' and' block_product_details.php - 02.15.2010 date. Replace this patch 07.04.2010 date.
 
1. User> Add to Wish List> message: "VAIO LT Series PC / TV All-in-One VGC-LT38E was added to your Wishlist." Pop-up window does not work ...
2. It does not work page Find Wish List> E-mail Address> "Find Wish List"> "The wish list you have requested does not exist."
 
Old Files' shopping.js' and 'block_product_details.php (02.15.2010 date) - it works ...
Please fix.Sad
 
Ibn Saeed
Ibn Saeed
Nemo, you should open a Support ticket and inform them about the bug.
 
This is not a moderated forum.