Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bypass preview in admin, how?


Guest

Recommended Posts

Posted

I use fck editor and have modified this to use own stylesheet and set width, so my preview page is displaying something that is not even remotely close to what will be shown in the store.

This is confusing to my customers and I have tried to bypass the preview page and save directly, but have failed.

 

Does anyone know how to do this.

Posted

The Preview page is really to show you that all the product info (title, price, picture etc) have been entered correctly before it is inserted into the database. If you want to change the layout of your entry on the product info page - you need to edit /product_info.php directly.

Posted
I use fck editor and have modified this to use own stylesheet and set width, so my preview page is displaying something that is not even remotely close to what will be shown in the store.

This is confusing to my customers and I have tried to bypass the preview page and save directly, but have failed.

 

Does anyone know how to do this.

I'm curious how this is confusing to your customers, if they don't have access to the admin console where you add and update your product data and see this preview page...

 

Richard.

Richard Lindsey

Posted

Hi

I have made several shops for other people, and they are confused by the fact that the preview in the admin panel is different from what they see in the products_info page.

That is why I want to have a direct way of saving the information without preview.

 

Sorry if I didn't explain myself very good before.

Posted
Hi

I have made several shops for other people, and they are confused by the fact that the preview in the admin panel is different from what they see in the products_info page.

That is why I want to have a direct way of saving the information without preview.

 

Sorry if I didn't explain myself very good before.

Ahhhhhh I see, I thought you meant like it was your store, and your customers were confused... Yeah, that layout in the preview page is totally different than the one on the product_info page, the 2 aren't related at all...

 

Richard.

Richard Lindsey

Posted

you need to modify the product form. Search your catalog\admin\categories.php for "new_product_preview" Now you can modify that form so the action is either insert_product or update_product. And that you can retrieve it from the $HTTP_GET_VARS['pID'] parameter when set it means you do an update. Therefore you can adjust the form's link accordingly.

 

finally you need to take care of the image upload. It takes place during the preview so you need to move that code with the insert/update case.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...