g◘pK񓙂ɂẴ͎y[W

ݒu}jA

http://goodsmore.net/modules/moshimo_apli/content0006.html


pK

http://goodsmore.net/modules/moshimo_apli/content0007.html

/*!
 * IvV̎gp 1
 * var ArticleId = $.getArticleId() ;
 * $( '#IsHeavySeller' ).getMoshimoApi( ArticleId, 'IsHeavySeller', function( el, value ){
 * 		if ( value = 'qbgт!' ) {
 * 			el.css( 'border', '3px solid red' ) ;
 * 			alert( 'qbgт! ߂ł' ) ;
 * 		}
 * 	}, { addclass: 'IsHeavySeller',	duration: 1500 });
 * 
 * IvV̎gp 2
 * var ArticleId = $j.getArticleId() ;
 * $( '#stockstatus' ).getMoshimoApi( ArticleId, 'StockStatus', function( el, value ){
 * 		switch( value ) {
 * 			case '0':
 * 				var img = '<img src="݌ɐ؂̉摜url" alt="݌ɐ؂">' ;
 * 				break;
 * 			case '1':
 * 				var img = '<img src="݌ɂ킸̉摜url" alt="݌ɂ킸">' ;
 * 				break;
 * 			case '2':
 * 				var img = '<img src="݌ɂ̉摜url" alt="݌ɂ">' ;
 * 				break;
 * 			case '3':
 * 				var img = '<img src="݌ɖLx̉摜url" alt="݌ɖLx">' ;
 * 				break;
 * 		}
 * 		el.html( img ) ;
 * }, { getValue: true });
 * 
 * NXhCŗpꍇ javascriptR[h
 * var ArticleId = $.getArticleId() ;
 * $( '#NewIcon' ).getMoshimoApi( ArticleId, 'NewIcon', { password:'pX[h' , ajaxUrl:'http://www.example.jp/moshimo_api/' });
 */

/*!
 * getItemsApi̎gp 1
 * $.getItemsApi({ 'CatchCopy' : '.Catch' ,'StockStatusWord' : '.Stock' });
 * 
 * NXhCŗpꍇ javascriptR[h
 * $.getItemsApi({ 'CatchCopy' : '.Catch' ,'StockStatusWord' : '.Stock' } , { password:'pX[h' , ajaxUrl:'http://www.example.jp/moshimo_api/' });
 */

/*!
 * LO̕\
 * 
 * $( '#Ranking' ).getMoshimoRanking( { category : '01' });
 * $( '#Ranking' ).getMoshimoRanking( { word : 'Ε' });
 * $( '#Ranking' ).getMoshimoRanking( { tag : '|@' });
 * 
 * IvV̎gp
 * $( '#Ranking' ).getMoshimoRanking({
 * 		word                           : 'Ε',              // [h
 * 		tag                            : '|@',              // ^O
 * 		category                       : '01,',                 // JeS[R[h
 * 		title                          : '%s ̃LOTOP5', // ^Cg
 * 		len                            : 30,                    // i̕ 0ɂƐȂ
 * 		imageSize                      : 'm',                   // 摜TCY "s, m, r, l" ̂ꂩw
 * 		addkey                         : 'ShopPrice,StockStatusWord,PopIcon,Summary', // \鍀ڂ̃L[R}i , j؂Ŏw
 * 		addclass                       : 'ranking',            // Kp class
 * 		col                            : 5,                    // 񐔂𐔎Ŏw
 * 		duration                       : 0,                    // 傫ƁAtF[hCĕ\
 * 		summary_len                    : 100,                  // iTv̕𐔎Ŏw
 * 		preShow:function( el ){                                // \钼OɎsR[obN֐
 * 			alert( 'LO\ Ƒ҂Ăˁ' ) ;
 * 		},
 * 		onAfter:function( el ){                                // \ɎsR[obN֐
 * 			alert( ' LO\ł' ) ;
 * 		}
 * });
 * 
 * NXhCŗpꍇ javascriptR[h
 * $( '#Ranking' ).getMoshimoRanking( { category : '01' , password:'pX[h' , ajaxUrl:'http://www.example.jp/moshimo_api/' });

/*!
 * MoshimoSearch̕\
 * 
 * $( '#Search' ).MoshimoSearch({ category : '02' , title : '%s ̐Vi' , sortorder : 'newly' , stock_status : 1 });
 * $( '#Search' ).MoshimoSearch( { word : 'Ε' , title : '%s̐Vi' , sortorder : 'newly' , stock_status : 1 });
 * $( '#Search' ).MoshimoSearch( { tag : '|@' , title : '%s̐Vi' , sortorder : 'newly' , stock_status : 1 });;
 * 
 * IvV̎gp
 * $( '#Search' ).MoshimoSearch({
 * 		word                          : 'Ε',         // [h
 * 		tag                           : '|@',         // ^O
 * 		category                      : '01,',            // JeS[R[h
 * 		except_words                  : '',             // OL[[h
 * 		sortorder                     : 'newly',          // я
 * 		is_newly                      :  0,               // 0:ViȊO܂ 1FVî
 * 		is_salable                    :  0,               // 0:wȂ 1Fqbgî
 * 		is_delivery_sameday           :  0,               // 0:wȂ 1Fẑ
 * 		is_free_shipping              :  0,               // 0:wȂ 1Fî
 * 		stock_status                  :  0,               // 0F݌ɐ؂ 1F݌ɂ킸 2F݌ɂ 3F݌ɖLx
 * 		exists_stock                  :  1,               // 0FwȂ 1F݌ɂ菤î 2F݌ɂȂî  w肪ꍇAstock_status ͖
 * 		fixed_price_from              :  0,               // ]i From
 * 		fixed_price_to                :  0,               // ]i To
 * 		default_profit_price_from     :  0,               // Wvi From
 * 		default_profit_price_to       :  0,               // Wvi To
 * 		default_profit_rate_from      :  0,               // Wv From
 * 		default_profit_rate_to        :  0,               // Wv To
 * 		recommended_sales_price_from  :  0,               // ̔i From
 * 		recommended_sales_price_to    :  0,               // ̔i To
 * 		minimum_price_from            :  0,               // Œ̔i From
 * 		minimum_price_to              :  0,               // Œ̔i To
 * 		wholesale_price_from          :  0,               // i From
 * 		wholesale_price_to            :  0,               // i To
 * 		has_shop_price                :  '',              // registered F̔iݒϏî unregistered F̔iݒ菤î
 * 		field                         :  '',              // wFiƐ猟 fullFiƐ猟 nameFî݂猟
 * 		image_count_from              :  0,               // 摜 From
 * 		image_count_to                :  0,               // 摜 To
 * 		jan_code                      :  '',              // JAN R[h
 * 		payment_type                  :  0,               // 0:wȂ 1FNWbgx̂ 3FNWbg / 
 * 		start_date_from               :  '',              // דt From YYYYMMDD ܂ YYYY-MM-DD
 * 		start_date_to                 :  '',              // דt To YYYYMMDD ܂ YYYY-MM-DD
 * 		title                         : '%s ̐Vi',  // ^Cg
 * 		len                           : 30,               // i̕ 0ɂƐȂ
 * 		imageSize                     : 'm',              // 摜TCY "s, m, r, l" ̂ꂩw
 * 		addkey                        : 'ShopPrice,StockStatusWord,PopIcon,Summary', // \鍀ڂ̃L[R}i , j؂Ŏw
 * 		addclass                      : 'search',         // Kp class
 * 		col                           : 5,                // 񐔂𐔎Ŏw
 * 		duration                      : 0,                // 傫ƁAtF[hCĕ\,
 * 		summary_len                   : 100,              // iTv̕𐔎Ŏw
 * 		preShow:function( el ){                           // \钼OɎsR[obN֐
 * 			alert( 'Vi\ Ƒ҂Ăˁ' ) ;
 * 		},
 * 		onAfter:function( el ){                           // \ɎsR[obN֐
 * 			alert( ' Vi\ł' ) ;
 * 		}
 * });
 * 
 * NXhCŗpꍇ javascriptR[h
 * $( '#Search' ).MoshimoSearch({ category : '02' , password:'pX[h' , ajaxUrl:'http://www.example.jp/moshimo_api/' });
 */
