If I add a product to the cart, with zero quantity, the 'same page' is returned via the cgi-bin with the standard error:
The pagetype for both the standard html page and the page returned by the cart shows as "Section".
Is there anyway to differentiate between these to pages, other than a Perl hack, so I can follow the logic of:
If its a normal section page DO THIS, else if its cgi-bin generated page DO THAT.
The reason why I want to be able to do this is that on some pages we generate <?php ?> code. This breaks when the section page is reproduced via the cgi-bin through a perl script.
No products have been added to the shopping cart. Please enter the quantity of each product being ordered before pressing the 'Add to cart' button.
Is there anyway to differentiate between these to pages, other than a Perl hack, so I can follow the logic of:
If its a normal section page DO THIS, else if its cgi-bin generated page DO THAT.
The reason why I want to be able to do this is that on some pages we generate <?php ?> code. This breaks when the section page is reproduced via the cgi-bin through a perl script.
Comment