• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP productTaxInfo函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中productTaxInfo函数的典型用法代码示例。如果您正苦于以下问题:PHP productTaxInfo函数的具体用法?PHP productTaxInfo怎么用?PHP productTaxInfo使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了productTaxInfo函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: formatprice

    print $prod['quantity'];
    print $prod['_qty_unit'];
    ?>
    </td>
    <td>
      <?php 
    print formatprice($prod['price'] * $prod['quantity']);
    ?>
      <?php 
    print $prod['_ext_price_total_html'];
    ?>
      <?php 
    if ($this->config->show_tax_product_in_cart && $prod['tax'] > 0) {
        ?>
            <span class="taxinfo"><?php 
        print productTaxInfo($prod['tax']);
        ?>
</span>
        <?php 
    }
    ?>
    </td>
    <td>
      <a href = "<?php 
    print $prod['remove_to_cart'];
    ?>
" ><img src = "<?php 
    print $this->image_path;
    ?>
images/reload.png" alt = "<?php 
    print _JSHOP_REMOVE_TO_CART;
开发者ID:Tommar,项目名称:vino2,代码行数:31,代码来源:wishlist.php


示例2: formatprice

    print formatprice($product->product_price);
    print $product->_tmp_var_price_ext;
    ?>
</span>
            </div>
        <?php 
}
?>
        <?php 
print $product->_tmp_var_bottom_price;
?>
        <?php 
if ($this->config->show_tax_in_product && $product->tax > 0) {
    ?>
            <span class="taxinfo"><?php 
    print productTaxInfo($product->tax);
    ?>
</span>
        <?php 
}
?>
        <?php 
if ($this->config->show_plus_shipping_in_product) {
    ?>
            <span class="plusshippinginfo"><?php 
    print sprintf(_JSHOP_PLUS_SHIPPING, $this->shippinginfo);
    ?>
</span>
        <?php 
}
?>
开发者ID:arkane0906,项目名称:lasercut-bootstrap,代码行数:31,代码来源:product.php


示例3: formatprice

                <?php 
    }
    ?>
           </td>
           <td>
                <?php 
    print formatprice($prod->product_item_price * $prod->product_quantity, $order->currency_code);
    ?>
                <?php 
    print $prod->_ext_price_total_html;
    ?>
                <?php 
    if ($this->config->show_tax_product_in_cart && $prod->product_tax > 0) {
        ?>
                    <div class="taxinfo"><?php 
        print productTaxInfo($prod->product_tax, $order->display_price);
        ?>
</div>
                <?php 
    }
    ?>
            </td>
         </tr>
         <?php 
    if (count($files)) {
        ?>
         <tr>
            <td colspan="5">
            <?php 
        foreach ($files as $file) {
            ?>
开发者ID:olegverstka,项目名称:monax.dev,代码行数:31,代码来源:orderemail.php


示例4: generatePDF


//.........这里部分代码省略.........
            } else {
                $pdt = "";
            }
            $pdf->SetXY(23, $pdf->getY());
            $pdf->SetFont('freesans', '', 6);
            $attribute = sprintAtributeInOrder($prod->product_attributes, "pdf");
            $attribute .= sprintFreeAtributeInOrder($prod->product_freeattributes, "pdf");
            $attribute .= sprintExtraFiledsInOrder($prod->extra_fields, "pdf");
            $attribute .= $prod->_ext_attribute;
            $attribute .= $pdt;
            $pdf->MultiCell(62, 4, $attribute, 0, 'L');
            $pdf->SetFont('freesans', '', 7);
        }
        $y2 = $pdf->getY() + 2;
        if ($jshopConfig->show_product_code_in_order) {
            $pdf->SetXY(85, $y + 2);
            $pdf->MultiCell(22, 4, $prod->product_ean, 0, 'L');
            $y3 = $pdf->getY() + 2;
        } else {
            $y3 = $pdf->getY();
        }
        $pdf->SetXY(107, $y + 2);
        $pdf->MultiCell(18, 4, formatqty($prod->product_quantity) . $prod->_qty_unit, 0, 'L');
        $y4 = $pdf->getY() + 2;
        $pdf->SetXY(125, $y + 2);
        $pdf->MultiCell(25, 4, formatprice($prod->product_item_price, $order->currency_code), 0, 'L');
        if ($prod->_ext_price) {
            $pdf->SetXY(125, $pdf->getY());
            $pdf->MultiCell(25, 4, $prod->_ext_price, 0, 'R');
        }
        if ($jshopConfig->show_tax_product_in_cart && $prod->product_tax > 0) {
            $pdf->SetXY(125, $pdf->getY());
            $pdf->SetFont('freesans', '', 6);
            $text = productTaxInfo($prod->product_tax, $order->display_price);
            $pdf->MultiCell(25, 4, $text, 0, 'L');
        }
        if ($jshopConfig->cart_basic_price_show && $prod->basicprice > 0) {
            $pdf->SetXY(125, $pdf->getY());
            $pdf->SetFont('freesans', '', 6);
            $text = _JSHOP_BASIC_PRICE . ": " . sprintBasicPrice($prod);
            $pdf->MultiCell(25, 4, $text, 0, 'L');
        }
        $y5 = $pdf->getY() + 2;
        $pdf->SetFont('freesans', '', 7);
        $pdf->SetXY(150, $y + 2);
        $pdf->MultiCell(40, 4, formatprice($prod->product_quantity * $prod->product_item_price, $order->currency_code), 0, 'R');
        if ($prod->_ext_price_total) {
            $pdf->SetXY(150, $pdf->getY());
            $pdf->MultiCell(40, 4, $prod->_ext_price_total, 0, 'R');
        }
        if ($jshopConfig->show_tax_product_in_cart && $prod->product_tax > 0) {
            $pdf->SetXY(150, $pdf->getY());
            $pdf->SetFont('freesans', '', 6);
            $text = productTaxInfo($prod->product_tax, $order->display_price);
            $pdf->MultiCell(40, 4, $text, 0, 'R');
        }
        $y6 = $pdf->getY() + 2;
        $yn = max($y2, $y3, $y4, $y5, $y6);
        $pdf->Rect(20, $y, 170, $yn - $y);
        $pdf->Rect(20, $y, 130, $yn - $y);
        if ($jshopConfig->show_product_code_in_order) {
            $pdf->line(85, $y, 85, $yn);
        }
        $pdf->line(107, $y, 107, $yn);
        $pdf->line(125, $y, 125, $yn);
        $y = $yn;
开发者ID:ngogiangthanh,项目名称:damtvnewversion,代码行数:67,代码来源:generete_pdf_order.php


示例5: productTaxInfo

    ?>
                </span>
            </div>
        <?php 
}
?>
        
        <?php 
print $this->product->_tmp_var_bottom_price;
?>

        <?php 
if ($this->config->show_tax_in_product && $this->product->product_tax > 0) {
    ?>
            <span class="taxinfo"><?php 
    print productTaxInfo($this->product->product_tax);
    ?>
</span>
        <?php 
}
?>
        
        <?php 
if ($this->config->show_plus_shipping_in_product) {
    ?>
            <span class="plusshippinginfo"><?php 
    print sprintf(_JSHOP_PLUS_SHIPPING, $this->shippinginfo);
    ?>
</span>
        <?php 
}
开发者ID:JexyRu,项目名称:jshop-updates,代码行数:31,代码来源:product_default.php


示例6: formatprice

                <span><?php 
    echo formatprice($product->product_price);
    ?>
</span>
            </div>
        <?php 
}
?>
        <?php 
echo $product->_tmp_var_bottom_price;
?>
        <?php 
if ($this->config->show_tax_in_product && $product->tax > 0) {
    ?>
            <span class="taxinfo"><?php 
    echo productTaxInfo($product->tax);
    ?>
</span>
        <?php 
}
?>
        <?php 
if ($this->config->show_plus_shipping_in_product) {
    ?>
            <span class="plusshippinginfo"><?php 
    echo sprintf(_JSHOP_PLUS_SHIPPING, $this->shippinginfo);
    ?>
</span>
        <?php 
}
?>
开发者ID:ngogiangthanh,项目名称:damtvnewversion,代码行数:31,代码来源:product.php


示例7: onBeforeCreatePdfOrderEnd


//.........这里部分代码省略.........
             $attribute = sprintAtributeInOrder($prod->product_attributes, "pdf");
             $attribute .= sprintFreeAtributeInOrder($prod->product_freeattributes, "pdf");
             $attribute .= sprintExtraFiledsInOrder($prod->extra_fields, "pdf");
             $attribute .= $prod->_ext_attribute;
             $attribute .= $pdt;
             $pdf->MultiCell(62, 4, $attribute, 0, 'L');
             $pdf->SetFont('freesans', '', 8);
         }
         //$y2 = $pdf->getY() + 1;
         $y2 = $pdf->getY();
         if ($jshopConfig->show_product_code_in_order && 0) {
             $pdf->SetXY(85, $y + 1);
             $pdf->MultiCell(22, 4, $prod->product_ean, 0, 'L');
             $y3 = $pdf->getY() + 1;
         } else {
             $y3 = $pdf->getY();
         }
         $pdf->SetXY(102, $y + 1);
         $pdf->MultiCell(20, 1, _JSHOP_ADDON_RUS_INVOICES_PAYMENT_CHT, 0, 'C');
         $pdf->SetXY(122, $y + 1);
         $pdf->MultiCell(16, 4, formatqty($prod->product_quantity) . $prod->_qty_unit, 0, 'R');
         //$y4 = $pdf->getY() + 1;
         $y4 = $pdf->getY();
         $pdf->SetXY(140, $y + 1);
         //$pdf->MultiCell(25, 4, formatprice($prod->product_item_price, $order->currency_code), 0 , 'L');
         $pdf->MultiCell(23, 4, $this->formatprice($prod->product_item_price), 0, 'R');
         if ($prod->_ext_price) {
             $pdf->SetXY(150, $pdf->getY());
             $pdf->MultiCell(40, 4, $prod->_ext_price, 0, 'R');
         }
         if ($jshopConfig->show_tax_product_in_cart && $prod->product_tax > 0) {
             $pdf->SetXY(125, $pdf->getY());
             $pdf->SetFont('freesans', '', 6);
             $text = productTaxInfo($prod->product_tax, $order->display_price);
             $pdf->MultiCell(25, 4, $text, 0, 'L');
         }
         //$y5 = $pdf->getY() + 1;
         $y5 = $pdf->getY();
         $pdf->SetFont('freesans', '', 8);
         $pdf->SetXY(165, $y + 1);
         //$pdf->MultiCell(40, 4, formatprice($prod->product_quantity * $prod->product_item_price, $order->currency_code), 0 , 'R');
         $pdf->MultiCell(28, 4, $this->formatprice($prod->product_quantity * $prod->product_item_price, 0), 0, 'R');
         if ($prod->_ext_price_total) {
             $pdf->SetXY(150, $pdf->getY());
             $pdf->MultiCell(40, 4, $prod->_ext_price_total, 0, 'R');
         }
         if ($jshopConfig->show_tax_product_in_cart && $prod->product_tax > 0) {
             $pdf->SetXY(150, $pdf->getY());
             $pdf->SetFont('freesans', '', 6);
             $text = productTaxInfo($prod->product_tax, $order->display_price);
             $pdf->MultiCell(40, 4, $text, 0, 'R');
         }
         //$y6 = $pdf->getY() + 1;
         $y6 = $pdf->getY();
         $yn = max($y2, $y3, $y4, $y5, $y6);
         // line
         $pdf->Rect(14, $y, 181, $yn - $y);
         //$pdf->Rect(20, $y, 130, $yn - $y );
         $pdf->line(22, $y, 22, $yn);
         $pdf->line(102, $y, 102, $yn);
         if ($jshopConfig->show_product_code_in_order && 0) {
             $pdf->line(85, $y, 85, $yn);
         }
         $pdf->line(122, $y, 122, $yn);
         $pdf->line(140, $y, 140, $yn);
         $pdf->line(165, $y, 165, $yn);
开发者ID:panickylemon,项目名称:joomlastayn,代码行数:67,代码来源:addon_rus_invoices_for_payment.php


示例8: formatprice

    echo $prod['quantity'];
    echo $prod['_qty_unit'];
    ?>
    		</td>
    		<td class="price_summ" headers="price_total">
	      		<?php 
    echo formatprice($prod['price'] * $prod['quantity']);
    ?>
    	  		<?php 
    echo $prod['_ext_price_total_html'];
    ?>
      			<?php 
    if ($this->config->show_tax_product_in_cart && $prod['tax'] > 0) {
        ?>
            		<span class="taxinfo"><?php 
        echo productTaxInfo($prod['tax']);
        ?>
</span>
        		<?php 
    }
    ?>
    		</td>
  		</tr>
	<?php 
    $i++;
}
?>
	</tbody>
</table>

<?php 
开发者ID:ngogiangthanh,项目名称:damtvnewversion,代码行数:31,代码来源:checkout.php


示例9: generatePDF


//.........这里部分代码省略.........
            $pdf->MultiCell($width_filename, 4, _JSHOP_MANUFACTURER . ": " . $prod->manufacturer, 0, 'L');
        }
        if ($prod->product_attributes != "" || $prod->product_freeattributes != "" || $prod->delivery_time || $prod->extra_fields != '') {
            if ($prod->delivery_time) {
                $pdt = _JSHOP_DELIVERY_TIME . ": " . $prod->delivery_time;
            } else {
                $pdt = "";
            }
            $pdf->SetXY(23, $pdf->getY());
            $pdf->SetFont('freesans', '', 6);
            $attribute = sprintAtributeInOrder($prod->product_attributes, "pdf");
            $attribute .= sprintFreeAtributeInOrder($prod->product_freeattributes, "pdf");
            $attribute .= sprintExtraFiledsInOrder($prod->extra_fields, "pdf");
            $attribute .= $pdt;
            $pdf->MultiCell(62, 4, $attribute, 0, 'L');
            $pdf->SetFont('freesans', '', 7);
        }
        $y2 = $pdf->getY() + 2;
        if ($jshopConfig->show_product_code_in_order) {
            $pdf->SetXY(85, $y + 2);
            $pdf->MultiCell(22, 4, $prod->product_ean, 0, 'L');
            $y3 = $pdf->getY() + 2;
        } else {
            $y3 = $pdf->getY();
        }
        $pdf->SetXY(107, $y + 2);
        $pdf->MultiCell(18, 4, formatqty($prod->product_quantity) . ' ' . $prod->product_qty_unit, 0, 'L');
        $y4 = $pdf->getY() + 2;
        $pdf->SetXY(125, $y + 2);
        $pdf->MultiCell(25, 4, formatprice($prod->product_item_price, $order->currency_code), 0, 'L');
        if ($jshopConfig->show_tax_product_in_cart && $prod->product_tax > 0) {
            $pdf->SetXY(125, $y + 6);
            $pdf->SetFont('freesans', '', 6);
            $text = productTaxInfo($prod->product_tax, $order->display_price);
            $pdf->MultiCell(25, 4, $text, 0, 'L');
        }
        $y5 = $pdf->getY() + 2;
        $pdf->SetFont('freesans', '', 7);
        $pdf->SetXY(150, $y + 2);
        $pdf->MultiCell(40, 4, formatprice($prod->product_quantity * $prod->product_item_price, $order->currency_code), 0, 'R');
        if ($jshopConfig->show_tax_product_in_cart && $prod->product_tax > 0) {
            $pdf->SetXY(150, $y + 6);
            $pdf->SetFont('freesans', '', 6);
            $text = productTaxInfo($prod->product_tax, $order->display_price);
            $pdf->MultiCell(40, 4, $text, 0, 'R');
        }
        $y6 = $pdf->getY() + 2;
        $yn = max($y2, $y3, $y4, $y5, $y6);
        $pdf->Rect(20, $y, 170, $yn - $y);
        $pdf->Rect(20, $y, 130, $yn - $y);
        if ($jshopConfig->show_product_code_in_order) {
            $pdf->line(85, $y, 85, $yn);
        }
        $pdf->line(107, $y, 107, $yn);
        $pdf->line(125, $y, 125, $yn);
        $y = $yn;
        if ($y > 260) {
            $pdf->addNewPage();
            $y = 60;
        }
        $prodtot = $prodtot + 1;
    }
    if ($y > 240) {
        $pdf->addNewPage();
        $y = 60;
    }
开发者ID:arkane0906,项目名称:lasercut-bootstrap,代码行数:67,代码来源:generete_pdf_order.php



注:本文中的productTaxInfo函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP product_goods_attr_list函数代码示例发布时间:2022-05-15
下一篇:
PHP procthread函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap