Digerdoo Posted August 5, 2006 Share Posted August 5, 2006 How i can put it that way that if user press order it goes straight to customer sheet where customer can put here name and other information.. and is there any possibilities that customer fill only one sheet so.. :) Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 5, 2006 Share Posted August 5, 2006 I've not seen a contrib that you could use completely out of the box ... mainly cause most people want to encourage adding more items to the cart before checking out :-). But I think if you look at the purchase without account and fast easy checkout contribs, there will be something that you can use and tweak a bit. You could change the cart display after adding an item to immediately go to the address entry page. This is defined in application_top.php right before the cart action switches start. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Digerdoo Posted August 6, 2006 Author Share Posted August 6, 2006 I've not seen a contrib that you could use completely out of the box ... mainly cause most people want to encourage adding more items to the cart before checking out :-). But I think if you look at the purchase without account and fast easy checkout contribs, there will be something that you can use and tweak a bit. You could change the cart display after adding an item to immediately go to the address entry page. This is defined in application_top.php right before the cart action switches start. What i change in application_top.php ? If customer just press in cart button it goes straight to sheet where customer can put here name and other information.. I don't want that it not goes in shopping cart at all.. :'( Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 6, 2006 Share Posted August 6, 2006 if you do not install contributions and do not tweak them (from your last question it seems you do not feel confident to do that), change at least the following line in application_top.php (around line 380 if the file is still default) if (DISPLAY_CART == 'true') { $goto = FILENAME_SHOPPING_CART; $parameters = array('action', 'cPath', 'products_id', 'pid'); } else { to if (DISPLAY_CART == 'true') { if (tep_session_is_registered('customer_id')) { $goto = FILENAME_CHECKOUT_SHIPPING; } else { $goto = FILENAME_CREATE_ACCOUNT; } $parameters = array('action', 'cPath', 'products_id', 'pid'); } else { this will make a customer go to create account page when adding an item to the cart and to checkout page if he is logged in. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Digerdoo Posted August 6, 2006 Author Share Posted August 6, 2006 if you do not install contributions and do not tweak them (from your last question it seems you do not feel confident to do that), change at least the following line in application_top.php (around line 380 if the file is still default)to this will make a customer go to create account page when adding an item to the cart and to checkout page if he is logged in. Is this working if i use purchase without accout ? :blush: Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 6, 2006 Share Posted August 6, 2006 Is this working if i use purchase without accout ? :blush: if you are using purchase without an account, as suggested by me in my first post, you need to make the redirect to that page and do not need an if else. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Digerdoo Posted August 6, 2006 Author Share Posted August 6, 2006 if you are using purchase without an account, as suggested by me in my first post, you need to make the redirect to that page and do not need an if else. How i can do it ? Where i can put it that way when customer just press buy now it goes straight to sheet where user can put here name and andress .. not goes shopping cart at all.. :blink: Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 6, 2006 Share Posted August 6, 2006 How i can do it ? Where i can put it that way when customer just press buy now it goes straight to sheet where user can put here name and andress .. not goes shopping cart at all.. :blink: you do not read my answers, do you??? :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Digerdoo Posted August 10, 2006 Author Share Posted August 10, 2006 you do not read my answers, do you??? Hello How i can do that redirect ? :o Link to comment Share on other sites More sharing options...
MEDIAZONE Posted August 10, 2006 Share Posted August 10, 2006 Hello How i can do that redirect ? :o Monica replied earlier with this answer: if (DISPLAY_CART == 'true') { if (tep_session_is_registered('customer_id')) { $goto = FILENAME_CHECKOUT_SHIPPING; } else { $goto = FILENAME_CREATE_ACCOUNT; } $parameters = array('action', 'cPath', 'products_id', 'pid'); } else { Many Thanks Simon Your Media Zone Remember to ALWAYS BACKUP Life is like box of chocs - You never know what your gonna get! Do you feel lucky punk? Well do ya! P-A-R-T WHY COS I GOTTA! Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 10, 2006 Share Posted August 10, 2006 for PWA, application_top.php (look above for linenumber) find this if (DISPLAY_CART == 'true') { $goto = FILENAME_SHOPPING_CART; $parameters = array('action', 'cPath', 'products_id', 'pid'); } else { replace by this if (DISPLAY_CART == 'true') { $goto = FILENAME_CHECKOUT; $parameters = array('action', 'cPath', 'products_id', 'pid'); } else { Heppi, apart from the filename (and I had to look this one up myself as I do not use PWA), I had posted the code for you, complete with instructions where to find it and how to modify it. I've gotten the impression that you are not even trying to do it yourself. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Digerdoo Posted August 11, 2006 Author Share Posted August 11, 2006 for PWA, application_top.php (look above for linenumber) find this if (DISPLAY_CART == 'true') { $goto = FILENAME_SHOPPING_CART; $parameters = array('action', 'cPath', 'products_id', 'pid'); } else { replace by this if (DISPLAY_CART == 'true') { $goto = FILENAME_CHECKOUT; $parameters = array('action', 'cPath', 'products_id', 'pid'); } else { Heppi, apart from the filename (and I had to look this one up myself as I do not use PWA), I had posted the code for you, complete with instructions where to find it and how to modify it. I've gotten the impression that you are not even trying to do it yourself. Not working.. it goes shopping cart and if i there press update it goes sheet where i can put name and other information.. :'( Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 11, 2006 Share Posted August 11, 2006 Not working.. it goes shopping cart and if i there press update it goes sheet where i can put name and other information.. :'( PM me your admin info :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.