RonaldLaeremans wrote on Oct 13th, 2009 at 12:05am: Code:
# Adjust site specific prices for sites where one can't select expedited or international shipping per item
if ( ($market->{my_item}->{expd}) eq 'n' ) ...
Works for me.
Ronald
Do the prices actually stick when you run the code through SOLOIST? I know that you can have something show up when you use the Pricing Test on the page with your inventory. For example a simple script
Code:
$v = {};
$v->{changed} = "n";
$v->{no_manual_reprice} = 0;
$v->{price}->{core} = $market->{my_item}->{core_price} + 100;
$v->{comments} = "My Price: $market->{my_item}->{core_price}\n";
$market->{my_item}->{core_price} += 10;
$v->{comments} .= "My Changed Price: $market->{my_item}->{core_price}\n";
return $v;
outputs
Code:
$ScriptOutput1 = {
'no_manual_reprice' => 0,
'changed' => 'n',
'price' => {
'core' => '144.99'
}
};
Comments:
My Price: 44.99
My Changed Price: 54.99
So both $v->{price}->{core} and $market->{my_item}->{core_price} are changed but they don't stick [if $v->{changed} were to be set to 'y', then the 144.99 would stick]. Unfortunately, even though I do have an account on AoB, I don't list through AoB so I can't test your code.
Thanks for any comments.
De
DeWayne White
http://www.WhiteUnicornBooks.com Repeat orders at our site receive a 10 percent discount.
Visit our Arkham, Mycroft & Moran, and Fedogan & Bremer page at
http://www.WhiteUnicornBooks.com/home/arkhamhouse.html A proud member of the IOBA -
http://www.IOBA.org.
Contact me for Perl Scripts for repricing your inventory on AoB