My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
I just asked as the reviews don't work under "Auto-managed Product Page URIs" I don't use tell a friend but the others are ticked and have Reviews written in the boxes but I am still ending up with /index.php?main_page=reviews in the address bar
That uri is one of those that is referenced in the instructions to be manually entered via install sql patches or through phpmyadmin and does not directly relate to any ticked option of auto-generating/managing URIs... The assignment instruction can be found in the _docs of the plugin, Configuration section, basically step 10...
As to the above in bold, please provide more than "doesn't work".. What doesn't work? What is happening, what is thought expected to need to happen? Tell a friend was disabled/removed from ZC in I think it was ZC 1.5.1 maybe as early as 1.5.0 (Sorry 3+ years ago), so is no longer really applicable to more current versions of ZC...
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Hi...I mean url don't work as in getting /index.php?main_page=reviews not website.co.uk/reviews .. I was under the impression that if you ticked it ceon would sort it out ,but you have explained it doesn't .. I have been looking at the instructions and I am not exactly sure of what to do
But the URI for a product's review is being created correctly, yes?
That is the difference, the tick mark is for the generation of friendly URIs for reviews (of products), not that the main_page=reviews would get modified...
So, what part of the following is not understood. From there assistance can be offered.
10. Specifying the current URI Mapping for any other Zen Cart page
There are two ways to specify static URIs for a Zen Cart page.
- The first is the most useful as it results in all links on the site to that page using the static URI instead of the standard dynamic Zen Cart URI (just as with products etc. using URI mappings).
Please Note: Any query string parameters are still appended to the URI.
Basically, this first method can be used to replace the likes of:
index.php?main_page=products_all&disp_order=3
with:
/our-products?disp_order=3.
- Use software such as PHPMyAdmin to add a new record to the ceon_uri_mapping table.
- The URI mapping to be mapped from should be entered in the uri field. (Remember to begin the URI with a slash ‘/’).
- The number representing the language ID this URI mapping applies for should be entered in the language_id field.
- The current_uri field should be set to “1” to make this the “current” URI.
- The Zen Cart page to be mapped to should be entered in the main_page field.
- The date/time this URI mapping was added should be set in the date_added field (or just use the “NOW()” SQL function).
- The query_string_parameters, associated_db_id and alternate_uri fields are not used, they must be left as “NULL”. The redirection_type_code is not used either so it doesn't matter what value it has (it can just be left at the default value of 301).
- The second is designed to allow data to be supplied to Zen Cart, by initialising the GET variables for the Zen Cart page when it is loaded.
Please Note: Since the second method matches against the exact query string parameters entered, when generating links on the site, the query string parameters have to match exactly or the URI entered won't be used as the link to the Zen Cart page entered, the standard Zen Cart dynamic URI will.
Any other parameters in the query string will cause this URI not to be used as the static URI in links.. even sort parameters (“disp_order=3”) will be enough to prevent the dynamic URI mapping to the URI entered here.
For this reason it's recommended in most cases just to match against the page's name using the first method, the second method really is only for very specific circumstances when data needs to be loaded for a page. For example:
When mapping a uri of ”/christmas-survey“ to a main_page of ”survey“ with query_string_parameters of “survey_id=12”.
- Use software such as PHPMyAdmin to add a new record to the ceon_uri_mapping table.
- The URI mapping to be mapped from should be entered in the uri field. (Remember to begin the URI with a slash ‘/’).
- The number representing the language ID this URI mapping applies for should be entered in the language_id field.
- The current_uri field should be set to “1” to make this the “current” URI.
- The Zen Cart page to be mapped to should be entered in the main_page field.
- If any GET variables should be set, simply enter them in the query_string_parameters field, separating each pair with an ampersand (‘&’), but not starting the string with a question mark or an ampersand.
- For example, to map to a custom survey page, with the necessary survey_type and survey_id for the survey to be shown, the main_page field would be set to:
- survey
- and the query_string_parameters field would be set to:
- survey_type=4&survey_id=23
- The date/time this URI mapping was added should be set in the date_added field (or just use the “NOW()” SQL function).
- The associated_db_id and alternate_uri fields are not used, they must be left as “NULL”. The redirection_type_code is not used either so it doesn't matter what value it has (it can just be left at the default value of 301).
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I've just noticed that on products that are copied to one or more categories, the URL contains a cPath if I get to the page via one of the copied categories. I got to this page by going to the category 'Gift Sets' and then clicking on this product's image or description under the image.When I do that, I get this address:
http://www.designerperfumesnob.com/w...et?cPath=1348&
However, if I were to access this same page from Search, or from the manufacturers list, it looks like this:
http://www.designerperfumesnob.com/w...arige/Gift-Set
Can I not get the 'friendly' URL from a copied category?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks