I wasted a lot of time trying to get the helper to work, and failed. Neither PayPal nor Microsoft is interested in getting it fixed. Which surprised me.
I wish someone would work on it and include user login, user registration, password email reset, password change page, shopping cart and paypal payment. It is a lot of work if you are new to this. IF you are a veteran who know what to do... it is very
easy.
I tried to use javascript to update the cart item numbers on the header and js would not fire. I had to include js in the default .chtml page -which I don't want to do. So webmatrix doesn't do debugging or throw an exception so I could trace the js error.
I used the good old alert("hi") in an external js file as a function and called it from the default page. Needless to say... nothing happened. So I included the function in the main js file that comes with the template and that didn't help.
Basically what I wanted to do is as users click on products (add to cart), the idea was to increment the count each time the user clicks and show the total item count using js.
Also, I do not like the idea of having the user sign in before they can add to cart... so the idea was to generate a high sequence number (temp ID) using js and associate it with items in a js table or DB as the user adds them to a list. When the user goes
to the cart, all the selected items are shown in a visual listing (photo, desc, price). When the user decides to purchase, they would then be requested to sign in. If the user leaves the page, the temp ID is lost so that no two users can access the other
person's selection. As I said above JS doesn't work.
Would anyone care to develop the Bakery template? What I like about the template is that it is simple and does just what it is suppose to do without a lot of fancy features to confuse and vastly extend the learning curve.
Thanks
With Regards
Abhishek Rajiv Luv
"Helpful then please Mark as Answer"
http://www.codeabstract.com/
http://pluralsight.com/training/users/abhishekluv
In our language we use : Agar ghee sidhi ungli se na nikle toh ungli tedhi karlo.
This means that If you cant get the result by the main possible ways. You can try out your own.
Like you can get the features in a list that are not working. And get help in fixing those issues. We donot know what error you are getting. We know is that there is an error. But where? Dont have any idea. So please edit the whole code. And share it with
us we will help you fixing the blocks.
Please "Marks As Answer" if any answer helped you out!
~~! FIREWALL !~~
Instead you using Bakery template, you can use Starter Template and with that use Simplecart.js for implementing Shopping cart and Paypal Payment gateway features.
Check simplecart.js website for documentation on how to implement the shopping cart and paypal payment feature within your website.
Hope that helps. :)
Thanks
With Regards
Abhishek Rajiv Luv
"Helpful then please Mark as Answer"
http://www.codeabstract.com/
http://pluralsight.com/training/users/abhishekluv
here is that link for that site. Starter site is a template that can be easily turned into any type of website. I download Starter Site. I did not even know what is Razor.
It helped my out in making 4 websites. Phew! Try it.
Please "Marks As Answer" if any answer helped you out!
~~! FIREWALL !~~
baginska
Member
18 Points
30 Posts
Updated Bakery Template
Dec 12, 2012 02:07 AM|LINK
Does anyone know if any one has updated the Bakery Template and included login account and paypal features?
Thought I might ask and save myself the trouble of writing that again.
I don't know why Micorsoft didn't just finish the template and save us the trouble.
Thanks
Afzaal.Ahmad...
Contributor
2661 Points
1040 Posts
Re: Updated Bakery Template
Dec 12, 2012 09:47 AM|LINK
Microsoft gave you a template for free! Thank Microsoft.
And you have to change the template as your needs. Edit the code. There is no © (Copyright) on it.
And What type of help you needed? Paypal features can be learnt from their website. And login is I guess included there.
~~! FIREWALL !~~
wavemaster
Participant
1289 Points
1127 Posts
Re: Updated Bakery Template
Dec 12, 2012 11:16 PM|LINK
The PayPal helper is part of the Bakery Template.
I wasted a lot of time trying to get the helper to work, and failed. Neither PayPal nor Microsoft is interested in getting it fixed. Which surprised me.
baginska
Member
18 Points
30 Posts
Re: Updated Bakery Template
Dec 13, 2012 01:19 AM|LINK
I wish someone would work on it and include user login, user registration, password email reset, password change page, shopping cart and paypal payment. It is a lot of work if you are new to this. IF you are a veteran who know what to do... it is very easy.
I tried to use javascript to update the cart item numbers on the header and js would not fire. I had to include js in the default .chtml page -which I don't want to do. So webmatrix doesn't do debugging or throw an exception so I could trace the js error. I used the good old alert("hi") in an external js file as a function and called it from the default page. Needless to say... nothing happened. So I included the function in the main js file that comes with the template and that didn't help.
Basically what I wanted to do is as users click on products (add to cart), the idea was to increment the count each time the user clicks and show the total item count using js.
Also, I do not like the idea of having the user sign in before they can add to cart... so the idea was to generate a high sequence number (temp ID) using js and associate it with items in a js table or DB as the user adds them to a list. When the user goes to the cart, all the selected items are shown in a visual listing (photo, desc, price). When the user decides to purchase, they would then be requested to sign in. If the user leaves the page, the temp ID is lost so that no two users can access the other person's selection. As I said above JS doesn't work.
Would anyone care to develop the Bakery template? What I like about the template is that it is simple and does just what it is suppose to do without a lot of fancy features to confuse and vastly extend the learning curve.
Any takers???
Abhishek Luv
Participant
1746 Points
468 Posts
Re: Updated Bakery Template
Dec 13, 2012 02:37 AM|LINK
You can use simpleCart.js for Cart Shopping and Paypal Payment feature.
http://simplecartjs.org/features/
Why isn't JS working for you?
With Regards
Abhishek Rajiv Luv
"Helpful then please Mark as Answer"
http://www.codeabstract.com/
http://pluralsight.com/training/users/abhishekluv
Afzaal.Ahmad...
Contributor
2661 Points
1040 Posts
Re: Updated Bakery Template
Dec 13, 2012 08:53 AM|LINK
In our language we use : Agar ghee sidhi ungli se na nikle toh ungli tedhi karlo.
This means that If you cant get the result by the main possible ways. You can try out your own.
Like you can get the features in a list that are not working. And get help in fixing those issues. We donot know what error you are getting. We know is that there is an error. But where? Dont have any idea. So please edit the whole code. And share it with us we will help you fixing the blocks.
~~! FIREWALL !~~
Abhishek Luv
Participant
1746 Points
468 Posts
Re: Updated Bakery Template
Dec 13, 2012 10:16 AM|LINK
>> Phir toh pakka ungli tedi hie karni padegi.
Dear,
Instead you using Bakery template, you can use Starter Template and with that use Simplecart.js for implementing Shopping cart and Paypal Payment gateway features.
Check simplecart.js website for documentation on how to implement the shopping cart and paypal payment feature within your website.
Hope that helps. :)
With Regards
Abhishek Rajiv Luv
"Helpful then please Mark as Answer"
http://www.codeabstract.com/
http://pluralsight.com/training/users/abhishekluv
Afzaal.Ahmad...
Contributor
2661 Points
1040 Posts
Re: Updated Bakery Template
Dec 13, 2012 01:30 PM|LINK
Hahahaha :D bilkul..
http://simplecartjs.org/
here is that link for that site. Starter site is a template that can be easily turned into any type of website. I download Starter Site. I did not even know what is Razor.
It helped my out in making 4 websites. Phew! Try it.
~~! FIREWALL !~~
baginska
Member
18 Points
30 Posts
Re: Updated Bakery Template
Dec 16, 2012 02:05 PM|LINK
Good question... because JS errors are not reported - WM just ignores everything.
A simply alert code should have worked.
baginska
Member
18 Points
30 Posts
Re: Updated Bakery Template
Dec 16, 2012 02:09 PM|LINK
Oh, I did take a look at it - but it has problems and security issues... such as hackers are able to
change the pricing and quantities and probably can order everything in your store for only a penny.
Thanks but no thanks.