Separate Products page for another site

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 лет назад
Hello guys,

I am just getting started with nopCommerce and was wondering if it is possible to create a separate page for the category template that only lists the products and no left or top menus?

http://vipabooks.bookcontrol.com.au/Category/44-older-readers.aspx

This site is not live as yet but I want to show the products on their my main site within an iframe in the body of the main page. I have down a heap of work to sync the pictures and book information to an internal system and I am keen to make it easy for them to publish their products.

http://www.vipabooks.com.au/default.aspx

Is there an easy way to do this with existing code?

Regards

Greg
14 лет назад
Could you please elaborate your question, sorry but it is little confusing
14 лет назад
Do you want a page where all the categories will be displayed ? and when you click on any category it should display all the products related to that category

Well if you're trying to accomplish this then you can do this will current feature,

Go to admin section > Catalog > Categories

You will see " Show on the main page:  CheckBOX" - > CHECK THIS CHECKBOX

and when you will start adding categories and products related to those categories.

You will see all the Categories along with images etc on the homepage (Remember: I am not talking about side bar category section, i am talking about the main body) you will be able to see all the categories in the main body Like this: http://vipabooks.bookcontrol.com.au/
14 лет назад
And if you're trying to get rid of left side column that gives us the Categories, Manufacturers, Information Section

Then you need to make changes in the masterpages
14 лет назад
You can do one thing: go to your default.aspx page in your nopCommercestore folder

open the Default.aspx page in Visual Studio

on the top of the page in coding; you will see MasterPageFile="~/MasterPages/TwoColumn.master"

change whatever is in " " with this

MasterPageFile="~/MasterPages/OneColumn.master"

and run your project again

Check out your homepage after doing all these things
14 лет назад
abcd_12345 wrote:
You can do one thing: go to your default.aspx page in your nopCommercestore folder

open the Default.aspx page in Visual Studio

on the top of the page in coding; you will see MasterPageFile="~/MasterPages/TwoColumn.master"

change whatever is in " " with this

MasterPageFile="~/MasterPages/OneColumn.master"

and run your project again

Check out your homepage after doing all these things


Cool, yep that is what I am trying to do.  Sorry in Aus so it was early morning for me so not only half a sleep when I wrote the post but I am looking for some quick advice to get my site up and running.  

I will give it a go latter tonight and let you know how I go.  I want to maintain the site as it is so i will make a copy of the default.aspx and create a portal as such.

Hope that all makes sense.

Thanks again for your reply.

Greg
14 лет назад
Ok got all that,  

http://vipabooks.bookcontrol.com.au/defaultvipa.aspx

How can I remove the header and footer menus etc for a specific category as per the below example marked within the red square?

http://vipabooks.bookcontrol.com.au/vipaexample.jpg


Thanks in advance for your help. I am loving NOP, I am just getting up to speed but I am looking forward to working with it.

Regards

Greg
14 лет назад
greg, if i understand your question correctly, you would probably have to create a new masterpage for your categories
if this is the case, look in the folder 'masterpages'

you would have to create a new, edited  version of root.master (and rename it ) and link your categories page to this
- hayden
14 лет назад
yes greg, what hayden said is correct, you need to modify or create your own masterpage for categories in order to accomplish what you're trying to do
14 лет назад
Thankyou, I have been at it for a couple of hours and have got that far including copying the root.master as well.

So far I have added a rewrite URL for `/vipacategory/....   and directed it to a copy of the Category.aspx as I want the normal categories to work when the visitor gets into the normal shop.

I am getting errors though because it is looking for the placeholder CP2 which I am working through at the moment.  

Just to clarify I want to point an Iframe from the other site just to list the products in that category and when they buy or add to cart it takes them into the shop.  hence the url dirversion etc etc. Longer term I will convince them to you the shop as the website instead.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.