WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-my-account-product-links

WooCommerce My Account Product Links

Adds product-view buttons to WooCommerce My Account order rows, with duplicate prevention and variation parent linking.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/amirrezashf/woocommerce-my-account-product-links/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Adds product-view buttons to WooCommerce My Account order rows, with duplicate prevention and variation parent linking.

Features

  • Runs only on My Account → Orders
  • Does not affect the Thank You page
  • Adds one button per unique product
  • Links variations to the parent product
  • Opens links in a new tab
  • Uses noopener noreferrer
  • Verifies order ownership
  • Skips unpublished or deleted products
  • HPOS compatible
  • Single-file plugin

Requirements

  • PHP 7.4+
  • WordPress 6.0+
  • WooCommerce

Installation

  1. Download the ZIP file.
  2. Go to Plugins → Add New Plugin → Upload Plugin.
  3. Upload, install, and activate it.

Button Labels

For one unique product:

مشاهده محصول

For multiple unique products:

مشاهده محصول Product Name

Filter

Use wc_mapl_product_link_available to customize product availability:

add_filter(
    'wc_mapl_product_link_available',
    static function ( $is_available, $product ) {
        return $is_available;
    },
    10,
    2
);

License

GPL-3.0

Author

Amirreza Shayesteh Far


لینک محصولات سفارش در حساب کاربری ووکامرس

این افزونه در بخش حساب کاربری ← سفارش‌ها برای هر محصول یکتای سفارش یک دکمه مشاهده محصول اضافه می‌کند.

قابلیت‌ها

  • اجرا فقط در لیست سفارش‌های حساب کاربری
  • عدم نمایش در صفحه تشکر از خرید
  • جلوگیری از دکمه‌های تکراری
  • هدایت variation به محصول والد
  • باز شدن لینک در تب جدید
  • بررسی مالکیت سفارش
  • عدم نمایش محصول حذف‌شده یا منتشرنشده
  • سازگاری با HPOS
  • معماری تک‌فایلی

نصب

  1. فایل ZIP را دانلود کنید.
  2. وارد افزونه‌ها ← افزودن افزونه تازه ← بارگذاری افزونه شوید.
  3. فایل را نصب و فعال کنید.

مجوز

GPL-3.0

نویسنده

Amirreza Shayesteh Far