Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

how to create a new product page type?!


Go to End


3 Posts   1737 Views

Avatar
supermegaultra

Community Member, 33 Posts

20 May 2010 at 10:17am

Hey all,

I'm trying to make a new product page type that does not include the product image, pricing, or the cart functionality that is commonly found on the right of the product pages.

What I do want is the ability for this page to be featured so it will show on the product group 'featured products' section.

I thought I could copy and paste the 'product.ss' and the 'product.php' files then change them appropriately but this causes the site to crash after a /dev/build.

Any ideas? Cheers!

Avatar
supermegaultra

Community Member, 33 Posts

26 May 2010 at 2:02pm

I woulda thought that this would be an easy exercise but I'm getting no where..

Any ideas anyone?!

Avatar
biapar

Forum Moderator, 435 Posts

26 May 2010 at 9:30pm

Hi,

you must create new product class without that fields.
Or your problem is only layout?