View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004444 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2012-08-23 14:56 | 2013-01-09 14:02 |
Reporter | jurate.baseviciene | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.6.3 revision 47975 | ||||
Target Version | 4.7.0_5.0.0_beta3 | Fixed in Version | 4.7.0 / 5.0.0 revision 51243 | ||
Summary | 0004444: if you try to choose a product variant in eshop then you are redirect to home page, | ||||
Description | In frontend does not work products with variants. Open shops start page, Search a product 3570. Select variant W30/L30. Then you are redirect to the start page. | ||||
Tags | Products | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Reproduced. This happens when SEO URLs are off only. (in config.inc.php set $this->blSeoMode = false;) |
|
The fix needs template changes, so changed target version to "5.0.0" |
|
Basically the reason causing the problem is that POST request ignores parameters provided in <form> action attribute. Therefor the parameters like cl=details&anid=productId (which are specified in action attribute when search engin urls are of) are ignored and it does not know it should lead to details page, therefore it lands to the default start page. |
|
There were no cl parameter and anid parameter in form, that's why it only worked with SEO link. Those parameters were added in to files listitem_grid.tpl and listitem_infogrid.tpl <input type="hidden" name="cl" value="details"> <input type="hidden" name="anid" value="[{ $product->oxarticles__oxnid->value }]"> |