• Resolved saraeee

    (@saraeee)


    Hi. I want my affiliate products links go to product details page in my website in category view and then in product detail page it goes to external link with more button. Is there any way to do so?
    I mean when I go to the list of products, all my products (simple or affiliate) goes to that product single page with more details button and from there for external products, user can go to external URL with another button.
    IS it possible?
    Right now in products list, external products button links to external URL and simple ones go to the product details.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @saraeee!

    Thank you for reaching out.

    What plugin are you using for the affiliate products? It seems that it would require custom coding or a plugin to achieve what you want.

    In this case, to know more about your site set up and point you in the right direction, kindly provide us your System Status; you can find it via WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’. Once you do this, you can paste your response here.

    Thanks!

    Thread Starter saraeee

    (@saraeee)

    Dear Juan, thank you for your reply. In fact I use woocommerce as a catalog and don’t have real sale on my woo commerce. I just want to introduce my service on woo commerce and after that redirect user to my web app . So I don’t use any affiliate plugin. My System status is

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://medafone.com/woo
    Site address (URL): https://medafone.com/woo
    WC Version: 6.7.0
    REST API Version: ? 6.7.0
    WC Blocks Version: ? 7.8.3
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: fa_IR
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.30
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.71.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 10.3.35-MariaDB-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ? wp_remote_post() failed. Contact your hosting provider.
    Remote Get: ? wp_remote_get() failed. Contact your hosting provider.
    
    ### Database ###
    
    WC Database Version: 6.7.0
    WC Database Prefix: wpwoo_
    Total Database Size: 17.90MB
    Database Data Size: 14.70MB
    Database Index Size: 3.20MB
    wpwoo_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_actionscheduler_actions: Data: 0.56MB + Index: 0.21MB + Engine MyISAM
    wpwoo_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_actionscheduler_logs: Data: 0.35MB + Index: 0.26MB + Engine MyISAM
    wpwoo_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_e_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_e_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_e_submissions_actions_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_e_submissions_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_gla_budget_recommendations: Data: 0.11MB + Index: 0.12MB + Engine MyISAM
    wpwoo_gla_merchant_issues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_gla_shipping_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_gla_shipping_times: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_import_postID: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_litespeed_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_litespeed_url_file: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_dynamic_segment_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_feature_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_mapping_to_external_entities: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_newsletters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_newsletter_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_newsletter_option: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_newsletter_option_fields: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_mailpoet_newsletter_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_newsletter_segment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_newsletter_templates: Data: 1.05MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_scheduled_tasks: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpwoo_mailpoet_scheduled_task_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_segments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_mailpoet_sending_queues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_statistics_bounces: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_statistics_clicks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_statistics_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_statistics_newsletters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_statistics_opens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_statistics_unsubscribes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_statistics_woocommerce_purchases: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_stats_notifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_subscribers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_mailpoet_subscriber_custom_field: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_subscriber_ips: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_subscriber_segment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_subscriber_tag: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_tags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_user_agents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_mailpoet_user_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_options: Data: 7.65MB + Index: 0.16MB + Engine MyISAM
    wpwoo_postmeta: Data: 3.27MB + Index: 0.56MB + Engine MyISAM
    wpwoo_posts: Data: 0.41MB + Index: 0.14MB + Engine MyISAM
    wpwoo_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_term_relationships: Data: 0.04MB + Index: 0.08MB + Engine MyISAM
    wpwoo_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_ultimate_post_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpwoo_usermeta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wpwoo_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_wc_product_meta_lookup: Data: 0.05MB + Index: 0.10MB + Engine MyISAM
    wpwoo_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wpf_filters: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wpf_meta_data: Data: 0.84MB + Index: 1.32MB + Engine MyISAM
    wpwoo_wpf_meta_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpwoo_wpf_meta_values: Data: 0.11MB + Index: 0.11MB + Engine MyISAM
    wpwoo_wpf_meta_values_bk: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wpf_modules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wpf_modules_type: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wpf_usage_stat: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wt_iew_action_history: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpwoo_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 240
    cartflows_flow: 1
    cartflows_step: 2
    custom_css: 6
    customize_changeset: 12
    elementor_library: 6
    mailpoet_page: 1
    nav_menu_item: 10
    page: 4
    post: 4
    product: 838
    revision: 54
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (13) ###
    
    Starter Templates: by Brainstorm Force – 3.1.13
    CartFlows: by CartFlows Inc – 1.10.2
    Checkout Plugins - Stripe for WooCommerce: by Checkout Plugins – 1.4.6
    Elementor Pro: by Elementor.com – 3.6.4
    Elementor: by Elementor.com – 3.6.7
    Google Listings and Ads: by WooCommerce – 2.0.1
    Import Users: by Smackcoders – 1.3
    Import Woocommerce: by smackcoders – 1.6.8
    MailPoet 3 (New): by MailPoet – 3.92.1
    Product Import Export for WooCommerce: by WebToffee – 2.2.2
    WooCommerce: by Automattic – 6.7.0
    WP Ultimate CSV Importer: by Smackcoders – 6.5.6
    WP Ultimate Exporter: by Smackcoders – 1.7.6
    
    ### Inactive Plugins (5) ###
    
    Akismet Anti-Spam: by Automattic – 4.2.5
    Hello Dolly: by Matt Mullenweg – 1.7.2
    Jetpack: by Automattic – 11.1.2
    LiteSpeed Cache: by LiteSpeed Technologies – 4.6
    Product Filter by WooBeWoo: by WooBeWoo – 2.1.5
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: IRT (?????)
    Currency Position: right_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ?
    
    ### WC Pages ###
    
    Shop base: #6 - /physicians/
    Cart: ? Page ID is set
    but the page does not exist
    
    Checkout: ? Page ID is set
    but the page does not exist
    
    My account: ? Page ID is set
    but the page does not exist
    
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Astra
    Version: 3.9.0 (update to version 3.9.1 is available)
    Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-07-26 06:44:47 +00:00
    Options: ?
    Notes: 48
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 2,068
    Oldest: 2022-07-08 10:42:13 +0000
    Newest: 2022-07-25 07:51:42 +0000
    
    Failed: 2
    Oldest: 2022-07-09 07:08:19 +0000
    Newest: 2022-07-17 19:11:13 +0000
    
    Pending: 3
    Oldest: 2022-07-26 07:43:19 +0000
    Newest: 2022-07-26 07:43:19 +0000
    
    ### Status report information ###
    
    Generated at: 2022-07-26 03:47:32 +00:00
    
    Roxy

    (@roxannestoltz)

    Hi @saraeee ,

    Thanks for sharing your System Status report.

    You are able to create an external link for products (each can have a unique URL within product settings) by using a plugin such as:

    Redirect on add to cart

    You can then change the “Add to Cart” button text by using a plugin such as:

    Woo Add to cart text change

    Hope this helps ??

    Thread Starter saraeee

    (@saraeee)

    Dear Roxanne thanks so much for your help. Your idea helped me o change my view. I need to have different URL for each product. I changed my view and tried to add another button to category list and below code just helped me
    Add product detail button to category list

    Roxy

    (@roxannestoltz)

    Hi @saraeee,

    You are very welcome, glad you managed to find a way to achieve what you require for your site.

    Kindly mark this topic as resolved in the sidebar should you no longer require help with this issue, and feel free to create a new topic should you need any further help with the WooCommerce core plugin.

    Thanks ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘affiliate product link to product details in category view’ is closed to new replies.