This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ugiftcert:troubleshooting:product-page [2013/06/21 20:30] jamby77 update note to make sure call is within form |
ugiftcert:troubleshooting:product-page [2016/04/29 18:52] (current) jamby77 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Product page form missing ====== | ||
| + | ==== Incompatible theme ==== | ||
| + | |||
| + | If after installing Gift certificate module, you are missing gift certificate form on product page, there is grat chance that your theme has been modified in such a way that it is missing some important calls. | ||
| + | |||
| + | File to look at is '' | ||
| + | <code php><? | ||
| + | |||
| + | That call is responsible for rendering product type specific details. | ||
| + | __That call **MUST** be placed within add to cart form on product page, otherwise Giftcert details will not be submitted and you will still get error messages.__ | ||
| + | |||
| + | If you don't want to have this call for all product types, you can surround it in conditional block like: | ||
| + | |||
| + | <code php> | ||
| + | <?php if($_product-> | ||
| + | <? | ||
| + | <?php endif;?> | ||
| + | </ | ||
| + | |||
| + | ==== If using Magento 1.3.x ==== | ||
| + | |||
| + | If using Magento versions less than 1.4, the solution above will not be enough. | ||
| + | Reason is that current version of Giftcert has its template files in base/ | ||
| + | |||
| + | ==== If you have used uGiftCert 0.x.x version ==== | ||
| + | |||
| + | If you have previously used older version of the plugin like 0.9.x or have made template/ | ||
| + | |||
| + | Therefore for old version of the plugin - check all themes BESIDES base/ | ||
| + | The only templates should be in frontend/ | ||
| + | |||
| + | Remove any other copies of these files and then test adding Gift Certificate product to cart. | ||
| + | If that works, then you can look into customization of the templates if you need that. | ||