The actual code for the product layout is found in the include file core_001_pr_basic_product.sst so that is the file you need to edit to remove the options from the regular pages. There is a section of code like this that you should be able to just remove.
- Code: Select all
[-- ELSE_IF PRODUCT.DisplayOrderingOptions "checked" --]<span class="pr_option_text">
[-- PRODUCT.OptionText --]</span><br>
[-- ORDER_OPTION_MENU COLUMN --]<br>
The moreinfo section of the product template is coming from the include file core_001_pr_basic_moreinfo.sst . Since you said you want to remove the order options from the main store pages and just have it on the moreinfo page, I assume that you are wanting to move the price on the moreinfo page? If that is the case then this is the section of code that displays the price information .
- Code: Select all
[-- IF PRODUCT.DisplayPrice --][-- IF PRODUCT.VariablePrice? --]<span class="pr_price" style="[-- VAR.pr_price_size --][-- VAR.pr_price_styles --]">[--STORE.Price --]: [-- STORE.CurrencySymbol --]<input type=text name="[-- PRODUCT.RecordNumber --]:price" size="4" maxlength="10" value=""></span>[-- ELSE --][-- IF PRODUCT.QuantityPricing --]<span class="pr_price" style="[-- VAR.pr_price_size --][-- VAR.pr_price_styles --]">[-- PRODUCT.QuantityPricing --]</span>[-- ELSE --][-- IF PRODUCT.SaleOn --]<span class="pr_price_sale" style="[-- VAR.pr_price_size --][-- VAR.pr_price_styles --]">[-- PRODUCT.Price --]</span> <span class="pr_sale_price" style="[-- VAR.pr_price_size --][-- VAR.pr_price_styles --]">[-- STORE.OnSaleText --] [-- PRODUCT.SaleAmount --]</span>[-- IF PRODUCT.AltPrice --]<br><span class="pr_alt_price_sale" style="[-- VAR.pr_price_size --][-- VAR.pr_price_styles --]">[-- PRODUCT.AltPrice --]</span> <span class="pr_alt_sale_price" style="[-- VAR.pr_price_size --][-- VAR.pr_price_styles --]">[-- STORE.OnSaleText --] [-- PRODUCT.AltSaleAmount --]</span>[-- END_IF --][-- ELSE --]<span class="pr_price" style="[-- VAR.pr_price_size --][-- VAR.pr_price_styles --]">[-- PRODUCT.Price --]</span>[-- IF PRODUCT.AltPrice --]<span class="pr_alt_price" style="[-- VAR.pr_price_size --][-- VAR.pr_price_styles --]">[-- PRODUCT.AltPrice --]</span>[-- END_IF --][-- END_IF --][-- END_IF --][-- END_IF --]<br>[-- END_IF --]
You will need to move that code down in the template to just below this line
- Code: Select all
[-- IF PRODUCT.DisplayOrderingOptions "checked" --]<span class="pr_option_text">[-- PRODUCT.OptionText --]</span><br>[-- ORDER_OPTION_MENU COLUMN --]<br>[-- END_IF --]
I think that is all you would need to do but I didn't actually try it out. Make copies of the ShopSite include files listed above. You will have to give them a different name since you can't have a copy created with the same name as the ShopSite template. I usually just use the same name but add a 1 after it. I thne edit that file to make the changes and then use the copy option to give it the same name only with the 1 removed so it will now have the same name as the original ShopSite file. With the file being named the same as the ShopSite version your file will be used instead of the ShopSite file. If it doesn't workout like you want just delete your edited version and the ShopSite version will be used again for the next time you publish. (Use Utilities > Publish > Regenerate after making template changes, the Publish flag doesn't pop up when editing templates.)