همانطور که می دانید قالب ها و ماژول های پرستاشاپ از اسمارتی استفاده می کند که فهرست زیر فهرستی کامل از متغیرهای اسمارتی می باشد که می توانند طراحان چه قالب و چه ماژول از این متغیرها بهره ببرند
هدف از این متغیر ها این است که دیگر شما نیاز ندارید که مسیر اصلی یک عکس و یا فایلی که در حال ساخت و یا ادرس دهی به ان می باشید را بنویسید و همچنین اگر مسیر فیزیکی ان را بنویسید طبیعتا در صفحات دیگر به دلیل / شدن صفحه ای مسیر مستقیم آن از دست میرود و آن تصویر و یا فایل دیگر به نمایش در نمی اید در صفحات دیگر
اما به راحتی می توانید با این متغیرها به هدف خود برسید و کدهای شما استاندارد و بدون مشکل در تمامی صفحات به نمایش در بیاید
کد:{$base_dir_ssl} URL of your store when SSL certificate is active {$base_dir} URL of your store {$cart} Information about cart. Read entries below for more informations {$cart->id} ID of customer cart {$cart->id_shop_group} ID of shop group (multistore feature) {$cart->id_shop} ID of shop (multistore feature) {$cart->id_address_delivery} ID of customer address delivery (only if order was made) {$cart->id_address_invoice} ID of customer address invoice (only if order was made) {$cart->id_currency} ID of cart currency {$cart->id_customer} ID of customer for which cart belongs (only if customer is logged) {$cart->id_guest} ID of shop guest {$cart->id_lang} ID of cart language {$cart->recycable} Bool value if recycable checked for this cart {$cart->gift} Bool value if gift checed for this cart {$cart->gift_message} Gift message {$cart->mobile_theme} Bool value if cart was created on mobile device {$cart->date_add} Date of cart creation {$cart->date_upd} Date of cart update {$cart->id_carrier} Id of cart carrier (if selected) {$cart->checkedTos} Bool value if terms of service is checked {$img_cat_dir} URL for the directory with categories images {$img_ps_dir} URL for the directory with PrestaShop image {$img_lang_dir} URL for the directory with languages images {$img_sup_dir} URL for the directory with suppliers images {$img_ship_dir} URL for the directory with carriers images {$img_prod_dir} URL for the directory with products images {$img_manu_dir} URL for the directory with manufacturers images {$img_dir} URL for the directory with theme’s images {$css_dir} URL for the directory with theme’s CSS {$modules_dir} URL for the directory with modules {$mail_dir} URL for the directory with mail templates {$js_dir} URL for the directory with theme’s JavaScript {$tpl_dir} URL for the directory with current theme's {$pic_dir} URL for the directory with uploaded pictures {$lang_iso} ISO code for the current language {$cart_qties} Number of products in the cart {$come_from} URL for the visitor’s origin {$shop_name} Shop name {$currency} Currency object (currently used currency). {$currencies} The various available currencies {$id_currency_cookie} ID of the current currency {$cookie} User cookie {$languages} The various available languages {$priceDisplay} Price display method (with or without taxes…) {$roundMode} Rounding method in use {$logged} Indicates whether the visitor is logged to a customer account {$page_name} Page name {$customerName} Client name (if logged in) {$use_taxes} Indicates whether taxes are enabled or not
درباره ما
سایت پشتیبانی پرستاشاپ فارسی خدمات رایگان خود را در سال 1392 با عنوان"انجمن پشتیبانی پرستاشاپ فارسی" در ایران آغاز نمود و از آن لحظه تا کنون همواره سعی در به کارگیری شیوه هایی نوین داشته و به عنوان اولین بومی کننده پرستاشاپ در ایران همواره در نشر و توسعه این فروشگاه ساز کوشا می باشد.




LinkBack URL
About LinkBacks
پاسخ با نقل قول