الوصف
Price Shortcode for WooCommerce lets you insert product prices using a flexible shortcode: [psfw_price]. It supports showing or hiding the currency symbol, displaying sale and regular prices, and customizable price range output for variable products.
Features:
- Use ID or SKU to target products
- Safe SKU fallback logic: numeric values are treated as product IDs first; SKU lookup is attempted only if no product matches the ID and the SKU is unique.
- Show/hide currency symbol.
- Strike-through regular price if on sale.
-
Flexible price range display for variable products:
- Use
price_range="force"to always display the full range (min–max) even if both values are the same. - Use
price_range="min"to display only the lowest variation price. - Use
price_range="max"to display only the highest variation price. - Defaults to WooCommerce’s auto range behavior if not specified.
- Use
-
Set default options in the admin.
- Optionally delete settings on uninstall.
- Gracefully degrades if WooCommerce is not active — shows nothing on the frontend, with an admin warning.
- Lightweight, clean, and developer-friendly, with basic SKU caching.
- Fully internationalized and ready for translation.
التنصيب
- Upload the plugin files to the
/wp-content/plugins/price-shortcode-for-woocommerce/directory, or install via the WordPress Plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to Settings Price Shortcode to configure.
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
“Price Shortcode for WooCommerce” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونترجمة ”Price Shortcode for WooCommerce“ إلى لغتك.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
1.0.0
- Initial public release