Is there anyway to directly override the default price, or will it ALWAYS use the set price in the SS database?
I've got the current code listed here (with the php variables changed).
- Code: Select all
<input type="hidden" name="storeid" value="MYSTOREID" />
<input type="text" size="2" name="MYSKU:qnty" value="1" />
<input type="hidden" name="dbname" value="products" />
<input type="hidden" name="function" value="add" />
<input type="hidden" name="sku" value="MYSKU" />
Did some poking around the forum and was hoping adding this would work:
- Code: Select all
<input type="hidden" name="MYSKU:price" value="OVERRIDEPRICE">
But no luck.
I am hoping to be able to change price dynamically at the this page level, rather then having to go through and change hundreds of prices in ShopSite.
Thanks for any help you can provide.
EDIT: After significant trial and error, here is what I found:
- 1) There is a field in the SS product page "variable pricing" that must be checked for this to work.
2) BUT if the price that is passed is less than the price set, it will default back to the original price.
3) You can override this behavior by setting the price to zero.
This obviously isn't quite what I want, since I'd still have to go through and set everything to zero, and check the box for the items, and I want to do this dynamically.
Here is my thought:
- 1) Turn Variable pricing on for all products.
2) Set the price of ALL products to zero.
3) Pass the price for ALL products via <input>, that way I can choose the price completely dynamically.
Can I get some confirmation that A) This will work as intended, and B) there isn't a better way?