{"id":8751,"date":"2025-03-27T09:56:14","date_gmt":"2025-03-27T09:56:14","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=8751"},"modified":"2025-03-27T09:56:15","modified_gmt":"2025-03-27T09:56:15","slug":"how-can-i-redirect-users-when-they-click-on-the-custom-button","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/","title":{"rendered":"How can I redirect users when they click on the custom button?"},"content":{"rendered":"\n<p>You can redirect users when they click on the custom button by following these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <strong>PrestaShop <\/strong>><strong> Modules <\/strong>><strong> Addify Hide Price for Non-Logged Users<\/strong> ><strong> Rules > Custom Button<\/strong><\/li>\n\n\n\n<li>Next, enable the<strong> Custom Button <\/strong>option<\/li>\n\n\n\n<li>Simply add the custom text for the button and set the color<\/li>\n\n\n\n<li>Click <strong>Redirect Customer<\/strong> to enter the link where you want users to be redirected when they click the button<\/li>\n\n\n\n<li>Click <strong>Save<\/strong> to apply the settings<\/li>\n<\/ul>\n\n\n\n<p>Now, whenever a user clicks on the custom button, they will be redirected to the specified link<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>You can redirect users when they click on the custom button by following these steps: Now, whenever a user clicks on the custom button, they will be redirected to the specified link<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8742,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"template-parts\/multiple-page-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-8751","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How can I redirect users when they click on the custom button? - Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How can I redirect users when they click on the custom button? - Documentation\" \/>\n<meta property=\"og:description\" content=\"You can redirect users when they click on the custom button by following these steps: Now, whenever a user clicks on the custom button, they will be redirected to the specified link\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-27T09:56:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/how-can-i-redirect-users-when-they-click-on-the-custom-button\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/how-can-i-redirect-users-when-they-click-on-the-custom-button\\\/\",\"name\":\"How can I redirect users when they click on the custom button? - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/how-can-i-redirect-users-when-they-click-on-the-custom-button\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/how-can-i-redirect-users-when-they-click-on-the-custom-button\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh7-rt.googleusercontent.com\\\/docsz\\\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C\",\"datePublished\":\"2025-03-27T09:56:14+00:00\",\"dateModified\":\"2025-03-27T09:56:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/how-can-i-redirect-users-when-they-click-on-the-custom-button\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/how-can-i-redirect-users-when-they-click-on-the-custom-button\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/how-can-i-redirect-users-when-they-click-on-the-custom-button\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh7-rt.googleusercontent.com\\\/docsz\\\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C\",\"contentUrl\":\"https:\\\/\\\/lh7-rt.googleusercontent.com\\\/docsz\\\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/how-can-i-redirect-users-when-they-click-on-the-custom-button\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PrestaShop\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PrestaShop Hide Price for Not Logged In\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How To\u2019s PHPFNL\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/prestashop\\\/prestashop-hide-price-for-not-logged-in\\\/how-tos-phpfnl\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How can I redirect users when they click on the custom button?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"name\":\"Documentation\",\"description\":\"Documentation for Addify Extensions\",\"publisher\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/addify.store\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\",\"name\":\"Documentation\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"contentUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"width\":6761,\"height\":1853,\"caption\":\"Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How can I redirect users when they click on the custom button? - Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/","og_locale":"en_US","og_type":"article","og_title":"How can I redirect users when they click on the custom button? - Documentation","og_description":"You can redirect users when they click on the custom button by following these steps: Now, whenever a user clicks on the custom button, they will be redirected to the specified link","og_url":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/","og_site_name":"Documentation","article_modified_time":"2025-03-27T09:56:15+00:00","og_image":[{"url":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/","url":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/","name":"How can I redirect users when they click on the custom button? - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/#primaryimage"},"thumbnailUrl":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C","datePublished":"2025-03-27T09:56:14+00:00","dateModified":"2025-03-27T09:56:15+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/#primaryimage","url":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C","contentUrl":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcDBXqqe5eFE57wqFKP5mHba-3jlRd2N9M9QJZw4TVJC-aLRBImGfihjEfVKzknr4yNYsRnSlKNWfgFO_chy4lEHd6r4VxJcOtpZ8RFJpFOI1ZEIMLp53g9AoiQpdxJPkFx4hlc5g?key=f6jBEJMztSGwnqzum5rNoM_C"},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/how-can-i-redirect-users-when-they-click-on-the-custom-button\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/addify.store\/documentation\/"},{"@type":"ListItem","position":2,"name":"PrestaShop","item":"https:\/\/addify.store\/documentation\/prestashop\/"},{"@type":"ListItem","position":3,"name":"PrestaShop Hide Price for Not Logged In","item":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/"},{"@type":"ListItem","position":4,"name":"How To\u2019s PHPFNL","item":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-for-not-logged-in\/how-tos-phpfnl\/"},{"@type":"ListItem","position":5,"name":"How can I redirect users when they click on the custom button?"}]},{"@type":"WebSite","@id":"https:\/\/addify.store\/documentation\/#website","url":"https:\/\/addify.store\/documentation\/","name":"Documentation","description":"Documentation for Addify Extensions","publisher":{"@id":"https:\/\/addify.store\/documentation\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/addify.store\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/addify.store\/documentation\/#organization","name":"Documentation","url":"https:\/\/addify.store\/documentation\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","width":6761,"height":1853,"caption":"Documentation"},"image":{"@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/8751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/comments?post=8751"}],"version-history":[{"count":1,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/8751\/revisions"}],"predecessor-version":[{"id":8752,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/8751\/revisions\/8752"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/8742"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=8751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}