Please bear with me I haven't used Simple CMS for over year and have forgotten how some thing work, but my client has finally decided to add a shopping cart- so I am now migrating his site to SimpleCMS ...
I have almost got Shop made simple working/displaying the way I want (mostly cosmetic but the biggy was to add a catalogid field - tried using name as catid, description as product name & an attribute for a long description - but I couldn't get it to work the way I wanted and add to cart on product list) - next step - build a heirarchical menu out of the product categories (3 levels) - but I am leaving that little job till I get the cart working as this is a nice to have - not a must have (user comes in via a page with all categories listed is the must have) - has anybody done this and are they willing to share ?
Now I am turning to Cart Made Simple (yes I know its only beta - but it does most of what I want) to handle the shopping cart side & as yet have not modified anything (except to set the default template to fe_showcart - is this the best option ?).
So far I can see that I will need to make cosmetic mods & feed in the catalog id into the backend as this is what the client goes by - a couple of small changes to shipping/payment logic (biggy here is to charge postage by order value rather than weight(alternately I could set weight to price and then use as is - but then I would have to change the admin templates & code to always set the weight to price on update ) - and add a flag to product indicating it can't be shipped via mail and other methods must be agreed) - I also haven't yet added a login feature .
Now for the questions....
1. Is it possible to do a "silent' add of a product to the cart rather than showing the cart after each product is added - if so how ? if not can someone point me to the code file that would need to be modified ? and if not is there a simple way in the templates to put a 'back' link that will take the user back to the page they came from either the product detail page - or the product list (I modifed this to allow the customer to add to cart from the category and products template)
2. 3 days ago I added produts to a cart - and went through all steps in the backend to pay/ship/invoice - today when I am looking to see what I need to modify more closely(ie identify which template is used where and where the code is) and add new products - what had been paid/shipped/invoiced is stiill there in the cart - why ? Have I missed something in working through the backend or is this a feature ?
3. It seems to pick up a different page template after I change the qty of a product - when the cart is first displayed it comes with a header of 'Pricelist' - this is the header for all pages within Shop Made Simple - I change a qty and it gives me page header of 'Home' - what have I missed ?
TIA
Kim
Tweed Heads,NSW, Australia
Cart Made Simple - a couple of questions
Re: Cart Made Simple - a couple of questions
Kim,
1. If you know the product and quantity: use from orders.api.php in the directory library the function AddProduct (you would not need any front end to add products.
I have not yet looked in a back tracking (returning to previous screen), but it is high on the list of things to do.
2. The function that prepares the session info (GetSessionId), sets the cookie to 'live' for 30 days.
Once confirmation is done for the order, the following is done: $this->orders->ClearCart( );. This should clear it, however I have not fully tested this.
3. I have not seen a thing like that happen, since I was not focussing on such a situation, so sorry this is happening. Changes have to be made in that area.
The remaining things:
I'm working on a multilevel menu out of the categories, but having major problems getting it the way I want it (in line with the left menu template).
I think it is best to first stick to the available templates, get the functions working the way you want them to and after that start with changing templates.
The only thing on the charge postage based upon order value is that you might be using the adminstration costs. Use a level. If the order amount is above it, no admin (read postage) is to be paid. I know it is only one level. It is a nice new feature however, but it takes time to build.
Regards,
Duketown
1. If you know the product and quantity: use from orders.api.php in the directory library the function AddProduct (you would not need any front end to add products.
I have not yet looked in a back tracking (returning to previous screen), but it is high on the list of things to do.
2. The function that prepares the session info (GetSessionId), sets the cookie to 'live' for 30 days.
Once confirmation is done for the order, the following is done: $this->orders->ClearCart( );. This should clear it, however I have not fully tested this.
3. I have not seen a thing like that happen, since I was not focussing on such a situation, so sorry this is happening. Changes have to be made in that area.
The remaining things:
I'm working on a multilevel menu out of the categories, but having major problems getting it the way I want it (in line with the left menu template).
I think it is best to first stick to the available templates, get the functions working the way you want them to and after that start with changing templates.
The only thing on the charge postage based upon order value is that you might be using the adminstration costs. Use a level. If the order amount is above it, no admin (read postage) is to be paid. I know it is only one level. It is a nice new feature however, but it takes time to build.
Regards,
Duketown
Re: Cart Made Simple - a couple of questions
Duketown,
many thanks for your replies, I am now seeing how it fits together - if I find a solkution to the other problems I will get them back to you
Kim
many thanks for your replies, I am now seeing how it fits together - if I find a solkution to the other problems I will get them back to you
Kim
Re: Cart Made Simple - a couple of questions
Hi Duketown
I know this post is quite old but i am just running with cart made simple into the same problem as kneehigh pointed out.
I have the newest version of cart made simple installed and when i update the quantity of a product in the cart it reloads with another template. I thought that i might use the default template from the cmsms installation and changed that - but with no effect.
Is there a solution to that problem?
Ah and i almost forgot: after the page reloads with the new template the contiune shopping button does not behave anymore as supposed to. It just links to the homepage.
Other than that i love the module shop made simple and cart made simple.
Thanks for your help.
Cheers Gunas
I know this post is quite old but i am just running with cart made simple into the same problem as kneehigh pointed out.
I have the newest version of cart made simple installed and when i update the quantity of a product in the cart it reloads with another template. I thought that i might use the default template from the cmsms installation and changed that - but with no effect.
Is there a solution to that problem?
Ah and i almost forgot: after the page reloads with the new template the contiune shopping button does not behave anymore as supposed to. It just links to the homepage.
Other than that i love the module shop made simple and cart made simple.
Thanks for your help.
Cheers Gunas
Last edited by gunas108 on Fri Feb 27, 2009 11:18 am, edited 1 time in total.
Re: Cart Made Simple - a couple of questions
I have a solution for the redirect.
check this link
http://forum.cmsmadesimple.org/index.php/topic,32525.0.html
yours,
Matthijs
check this link
http://forum.cmsmadesimple.org/index.php/topic,32525.0.html
yours,
Matthijs
Re: Cart Made Simple - a couple of questions
Hi Matthijs
Thanks sooooo much for letting me know. I was not working for a while on the shopping for the site where i need SMS but now i finally had to return and i am so glad that you looked into that problem and fixed it.
You are the man.
Cheers Gunnar
Thanks sooooo much for letting me know. I was not working for a while on the shopping for the site where i need SMS but now i finally had to return and i am so glad that you looked into that problem and fixed it.
You are the man.
Cheers Gunnar
Re: Cart Made Simple - a couple of questions
your welcome.
Duketown helped me out too in the past, so the least I can do is post answers to questions concerning his modules.
Duketown helped me out too in the past, so the least I can do is post answers to questions concerning his modules.
Re: Cart Made Simple - a couple of questions
Many thanks over here too!!!!
Re: Cart Made Simple - a couple of questions
Is there a way to do this? I have tried various methods but they either fail or give unexpected results! lolDuketown wrote:Kim,
1. If you know the product and quantity: use from orders.api.php in the directory library the function AddProduct (you would not need any front end to add products.
I have not yet looked in a back tracking (returning to previous screen), but it is high on the list of things to do.
Regards,
Duketown