{"id":546,"date":"2010-08-23T01:49:52","date_gmt":"2010-08-23T05:49:52","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=546"},"modified":"2015-06-03T23:32:23","modified_gmt":"2015-06-04T06:32:23","slug":"troubleshooting-product-settings","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/troubleshooting-product-settings\/","title":{"rendered":"Troubleshooting Product Settings"},"content":{"rendered":"<h3>Summary<\/h3>\n<p>DAP has 3 fields which are applicable at a Product-level.<\/p>\n<p>If a content (page\/post) is part of just one single product, then the Product-level settings will apply.<\/p>\n<p>But if a content (page\/post) is part of multiple products, then DAP can&#8217;t figure out which product&#8217;s settings to use &#8211; so it falls back to the &#8220;GLOBAL&#8221; equivalent of that same setting under <strong>Setup &gt; Config<\/strong>.<\/p>\n<p>The 3 fields are&#8230;<\/p>\n<ul>\n<li><strong>Post-Login URL<\/strong><\/li>\n<li><strong>Sales Page URL<\/strong><\/li>\n<li><strong>Error Page URL<\/strong><\/li>\n<\/ul>\n<p>All 3 of these have both a Product-level setting, plus a fall-back Global setting under <strong>Setup &gt; Config<\/strong>.<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/08\/dap_config_global_product_settings.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-2535\" style=\"border: 1px solid black;\" title=\"dap_config_global_product_settings_small\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/08\/dap_config_global_product_settings_small.png\" alt=\"\" width=\"289\" height=\"318\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>1) Post-Login URL not redirecting to the right page<\/h3>\n<p>If the user has access to more than 1 DAP Product, then DAP cannot decide which Product&#8217;s Post-Login URL to redirect the user to. So it simply redirects the user to the global equivalent of that URL at Setup &gt; Config &gt; Post-Login URL (Global)<\/p>\n<p>So if you&#8217;re testing the &#8220;Post-Login URL&#8221; field, make sure you create a test user with access to just that one product, and then log in as her and test.<\/p>\n<h3>2) Error Page URL not redirecting to the right page<\/h3>\n<p>If the content that user is trying to access, but is not eligible to access, is part of just one DAP product, then that product&#8217;s &#8220;Error Page URL&#8221; will apply. And this field is set to &#8220;\/dap\/product-error.php&#8221; by default. Even if you set this to blank, it will assume that to be the same as teh default value, and the default &#8220;In-page Error Message&#8221; will apply.<\/p>\n<p>If the content that user is trying to access, but is not eligible to access, is part of more than 1 DAP Product, then DAP cannot decide which Product&#8217;s &#8220;Error Page URL&#8221; to use. So it simply uses the global equivalent under Setup &gt; Config &gt; Error Page URL (Global)<\/p>\n<p>If you want to redirect the error page URL to a custom error page, then you have to enter that into each product, as well as one for the global one.<\/p>\n<h3>3) &#8220;Sales Page URL&#8221; on error page not pointing to right URL<br \/>\n(OR)<br \/>\nLock message says &#8220;Sorry, this content is for members only. Click here to get access&#8221; but &#8220;Click here&#8221; points to my incorrect URL<\/h3>\n<p>If the content that user is trying to access, but is not eligible to access, is part of more than 1 DAP Product, then DAP cannot decide which Product&#8217;s &#8220;Sales Page URL&#8221; to show on the &#8220;In-Page Error Message&#8221; shown to the viewer. So it simply uses the global equivalent under Setup &gt; Config &gt; Sales Page URL (Global)<\/p>\n<p>So make sure you have set up a URL in that field.<\/p>\n<h3>4) Clicking on a protected Category is not taking user to the correct &#8220;Error Page URL&#8221;<\/h3>\n<p>When you click on a category (instead of a single post), then because the category could contain many posts, each of which could be part of multiple Products. So DAP is unable to choose just 1 single Product from which to pick the &#8220;Error Page URL&#8221; and redirect the visitor to. So it just shows the <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/customizing-error-messages-on-protected-pages\/\">error message with the padlock image<\/a>, which can be customized. <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/customizing-error-messages-on-protected-pages\/\">Click here<\/a> for details.<\/p>\n<h3><\/h3>\n<p>&nbsp;<\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;\">\n<table style=\"margin-top: 3px; border: 1px solid #164677; background-color: #ffffff;\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr>\n<td style=\"background-color: #ffffff; padding: 5px;\" colspan=\"2\" align=\"left\">3. The Lock, being generic, says &#8220;Sorry, this content is for members only.&#8221; but does not specify, as I (will) have several different types of members. It should say something like &#8220;Sorry, this content is for %%PRODUCT%% subscribers only.&#8221; Can this actually work? I am just guessing.<\/td>\n<\/tr>\n<tr>\n<td class=\"visitorReplyInfoCell\" colspan=\"2\" align=\"left\">\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"left\"><em>Response Time: 28 Minutes<\/em><\/td>\n<td align=\"right\"><em>Wed 23 Mar 2011, 10:13am<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"45641\"><\/a><\/p>\n<table style=\"margin-top: 3px; border: 1px solid #164677; background-color: #f0f6ff;\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr>\n<td style=\"background-color: #f0f6ff; padding: 5px;\" align=\"left\">\u00bb <strong>Reply by<\/strong>: Ravi Jayagopal<\/td>\n<td style=\"background-color: #f0f6ff; padding: 5px;\" align=\"right\"><a title=\"Edit\" href=\"..\/..\/support\/admin\/index.php?cmd=viewticket&amp;action=editreply&amp;id=7566&amp;reply=45641\"><img src=\"..\/..\/support\/admin\/images\/edit.gif\" alt=\"\" border=\"0\" \/><\/a> <a title=\"Delete\" href=\"..\/..\/support\/admin\/index.php?cmd=viewticket&amp;action=deletereply&amp;id=7566&amp;reply=45641\"><img src=\"..\/..\/support\/admin\/images\/delete.gif\" alt=\"\" border=\"0\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f0f6ff; padding: 5px;\" colspan=\"2\" align=\"left\">&gt;&gt;1. Creating a new user account, for someone who is already logged in under a different email address.&lt;&lt;<br \/>\nYeah, that is on our list. Not something that will happen any time soon. Hopefully, we can schedule it for the next release.&gt;&gt;2. Several Emails say various things similar to &#8220;New User Signup (3rd Party Notification)&#8221; instead of actually telling me what product they signed up for, or even the amount that was made.&lt;&lt;<br \/>\nEvery one of them should have the product name in the body of the email. If it doesn&#8217;t, then something&#8217;s not right. So if you find one without a product, then let paste the email here, and we&#8217;ll take a look.Other than that, it&#8217;s not meant to be a full payment notification email. It&#8217;s just meant to be an alert, that&#8217;s all. The full payment notification will come from your payment processor.It already does that to a certain extent. If you see the original error-notloggedin.php, you&#8217;ll see a line in there that says..&lt;a href=&#8221;%%SALES_PAGE_URL%%&#8221;&gt;Click here to get access.&lt;\/a&gt;If the page or post belongs to just one Product, then the %%SALES_PAGE_URL%% in the above line will actually be replaced with the &#8220;Sales Page URL&#8221; field from that product. But if the same page\/post is part of multiple products, then DAP won&#8217;t know which Product&#8217;s &#8220;Sales Page URL&#8221; to use &#8211; so it will just point to the home page.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Summary DAP has 3 fields which are applicable at a Product-level. If a content (page\/post) is part of just one single product, then the Product-level settings will apply. But if a content (page\/post) is part of multiple products, then DAP can&#8217;t figure out which product&#8217;s settings to use &#8211; so it falls back to the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,16,27,6,26,46],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/546"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=546"}],"version-history":[{"count":19,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":4978,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/546\/revisions\/4978"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}