Download
Desenvolver
Conta
Download
Desenvolver
Login
Forgot Account/Password
Criar Conta
Linguagem
Ajuda
Linguagem
Ajuda
×
Login
Nome de acesso
Senha
×
Forgot Account/Password
Estado tradução de Português
Category:
Software
People
PersonalForge
Magazine
Wiki
Pesquisa
OSDN
>
Pesquisar Software
>
Internet
>
WWW/HTTP
>
Site Management
>
osCommerce 日本語版
>
Fóruns
>
osCommerce FAQ
>
ゆうパック配送料金について
osCommerce 日本語版
Descrição
Project Summary
Developer Dashboard
Página da Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Histórico
Downloads
List of Releases
Stats
Código Fonte
Code Repository list
CVS
Visualizar Repositório
Tíquete
Ticket List
Milestone List
Type List
Lista de componentes
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
Fóruns
List of Forums
イベント (20)
osCommerce カスタマイズ (493)
osCommerce FAQ (1365)
osCommerce 一般 (36)
Mailing Lists
list of ML
tep-j-develop
tep-j-general
News
Fóruns:
osCommerce FAQ
(Thread #26148)
Return to Thread list
RSS
ゆうパック配送料金について (2010-04-29 17:24 by
Anônimo
#50330)
Responder
Criar tíquete
お世話になります。
商品の配送先と、商品の重量によって、送料を変えたいのですが、
なかなかうまくいきません。
ちなみに、商品は、5キロ、10キロ、20キロ、30キロがあります。
5キロの商品は、5キロの送料をリストから拾ってくれますが、
10キロ20キロ30キロは、必ずリストの最後の数値を拾ってきます。(30キロはその数値でOKですが)
例:'N1'=>array( 600,800,800,1100,1100,), // 第1地帯 近距離
の場合、1100円を拾ってきます。
oscommerce/catalog/includes/classes
の中の_yuupack.phpの以下の部分を修正しました。(括弧内が3キロ、5キロ、10キロ・・・という風になっています)
function GetQuote() {
// 地帯・サイズ別の価格: サイズ => 価格(サイズ3:60,5:80,10:80,20:100,30:120)
$a_pricerank = array(
'N0'=>array(500,700,700,900,1100,), // 県内
'N1'=>array( 600,800,800,1100,1100,), // 第1地帯 近距離
'N2'=>array(700,900,900,1300,1300,), // 第2地帯
'N3'=>array(800,1000,1000,1400,1400,), // 第3地帯
'N4'=>array(900,1100,1100,1500,1500,), // 第4地帯
'N5'=>array(1000,1200,1200,1600,1600,), // 第5地帯
'N7'=>array(1200,1400,1400,1800,1800,), // 第7地帯 遠距離
);
あと、どこを編集すればいいのでしょうか?
ご存知の方がいらっしゃいましたら、教えてください。
プログラムの知識が少ないため、お手数をおかけしますがよろしく御願いいたします。
Responder a #50330
×
Assunto
Body
Reply To Message #50330 > お世話になります。 > 商品の配送先と、商品の重量によって、送料を変えたいのですが、 > なかなかうまくいきません。 > > ちなみに、商品は、5キロ、10キロ、20キロ、30キロがあります。 > 5キロの商品は、5キロの送料をリストから拾ってくれますが、 > 10キロ20キロ30キロは、必ずリストの最後の数値を拾ってきます。(30キロはその数値でOKですが) > 例:'N1'=>array( 600,800,800,1100,1100,), // 第1地帯 近距離 > の場合、1100円を拾ってきます。 > > oscommerce/catalog/includes/classes > の中の_yuupack.phpの以下の部分を修正しました。(括弧内が3キロ、5キロ、10キロ・・・という風になっています) > > function GetQuote() { > // 地帯・サイズ別の価格: サイズ => 価格(サイズ3:60,5:80,10:80,20:100,30:120) > $a_pricerank = array( > 'N0'=>array(500,700,700,900,1100,), // 県内 > 'N1'=>array( 600,800,800,1100,1100,), // 第1地帯 近距離 > 'N2'=>array(700,900,900,1300,1300,), // 第2地帯 > 'N3'=>array(800,1000,1000,1400,1400,), // 第3地帯 > 'N4'=>array(900,1100,1100,1500,1500,), // 第4地帯 > 'N5'=>array(1000,1200,1200,1600,1600,), // 第5地帯 > 'N7'=>array(1200,1400,1400,1800,1800,), // 第7地帯 遠距離 > ); > > あと、どこを編集すればいいのでしょうか? > ご存知の方がいらっしゃいましたら、教えてください。 > > プログラムの知識が少ないため、お手数をおかけしますがよろしく御願いいたします。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Pré-visualizar
Post
Cancelar
RE: ゆうパック配送料金について (2010-04-30 10:30 by
Anônimo
#50342)
Responder
Criar tíquete
> 'N0'=>array(500,700,700,900,1100,),
1100の後ろに,が付くのはおかしくね?
> 3:60,5:80,10:80,20:100,30:120
これ元々は
> 3:60,7:80,10:100,15:120,18:140,22:160,30:170
だと思うんだけど、管理画面でサイズの計算表を
ちゃんと修正してる?
Responder a
#50330
Responder a #50342
×
Assunto
Body
Reply To Message #50342 > > 'N0'=>array(500,700,700,900,1100,), > > 1100の後ろに,が付くのはおかしくね? > > > 3:60,5:80,10:80,20:100,30:120 > > これ元々は > > > 3:60,7:80,10:100,15:120,18:140,22:160,30:170 > > だと思うんだけど、管理画面でサイズの計算表を > ちゃんと修正してる?
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Pré-visualizar
Post
Cancelar