We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Mark Bowen Shopping Cart Plug-in

Development and Programming

Shannon Smith's avatar
Shannon Smith
161 posts
16 years ago
Shannon Smith's avatar Shannon Smith

Or maybe Mr. DimSum figured out a way to integrate the js cart into Simple Commerce as well…

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Ah I see what you mean now. Well yes the Simple Commerce Module (SCM), if you use it, does have a built in check to see that any information sent back to it is within 10% of the price that you placed for the entry so that people can’t hack it. Best they could do is either pay you 10% less or 10% more if they were so inclined! 😊

You can actually wire up the plugin to work with openssl, I’m currently working on that myself. This would then mean that the whole of the carts contents would be encrypted and sent off to PayPal so absolutely no worry of people trying to change the costs in any way at all.

Best wishes,

Mark

       
awsadmin's avatar
awsadmin
127 posts
16 years ago
awsadmin's avatar awsadmin

Can you add more than one product at a time? I went to your example site tried it out, works nice! But I would like to have a quantity box if possible, and would be just what I need. Also can I use paypal to accept credit cards on my website?

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen
Can you add more than one product at a time? I went to your example site tried it out, works nice! But I would like to have a quantity box if possible, and would be just what I need.

Currently at the moment no it doesn’t have that feature although I am looking into adding that and when I do then it will of course be a free upgrade to everyone who has purchased the plugin. A couple of users who have purchased the plugin have actually modified it themselves to do this so I can say it can be done although I do need to add this in myself.

Also can I use another payment gateway such as authorize.net or only be able to use paypal?

The plugin doesn’t make you use any payment processor at all it is simply for the storage and retrieval of items. On the site that I link to that I originally created the plugin for it is in fact just sending off the details via secure e-mail as opposed to actually charging anyone anything. You could definitely in theory hook this up to any payment processor. That is something which is left down to each developer / designer though as this is just meant as a means to provide the actual cart part of the process and not any of the payment side. Out of the 30 or so users that have purchased the plugin though I know of at least 5 who have done this with different payment processors to it can indeed be done.

Best wishes,

Mark

       
leegreen's avatar
leegreen
29 posts
16 years ago
leegreen's avatar leegreen

Hi Mark,

having a slight problem getting this working.. any tips

Notice: Undefined index: item_use_sale in /home/apipubli/public_html/system/plugins/pi.shopping_cart_functions.php on line 135 Notice: Undefined index: item_regular_price in /home/apipubli/public_html/system/plugins/pi.shopping_cart_functions.php on line 143 Notice: Undefined index: item_use_sale in /home/apipubli/public_html/system/plugins/pi.shopping_cart_functions.php on line 135 Notice: Undefined index: item_regular_price in /home/apipubli/public_html/system/plugins/pi.shopping_cart_functions.php on line 143 Notice: Undefined index: item_use_sale in /home/apipubli/public_html/system/plugins/pi.shopping_cart_functions.php on line 135 Notice: Undefined index: item_regular_price in /home/apipubli/public_html/system/plugins/pi.shopping_cart_functions.php on line 143 Warning: Cannot modify header information - headers already sent by (output started at /home/apipubli/public_html/system/plugins/pi.shopping_cart_functions.php:135) in /home/apipubli/public_html/system/core/core.functions.php on line 296

       
leegreen's avatar
leegreen
29 posts
16 years ago
leegreen's avatar leegreen

hmm discard that for now… seems to be sorta working now.

@Mark… the documentation uses the wrong type of marks, curly quotes rather than ” or ‘, this has been causing me a bit of trouble. But working my way through changing them is clearing up my troubles..

edit - add: It was the wrong marks was causing me all the troubles… All working well now… cheers!

       
leegreen's avatar
leegreen
29 posts
16 years ago
leegreen's avatar leegreen

Few hours later, everything is running smoothly - this completes SCM for me. Many thanks Mark.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Hiya,

Yep sorry about the quotation marks in the documentation, will take a look into that as soon as possible. It doesn’t seem to do that to me but will take a look and see if I can catch what’s going on there.

Glad it’s all working for you now though and thanks for the heads up.

Best wishes,

Mark

       
florian's avatar
florian
395 posts
16 years ago
florian's avatar florian

My current projects has three different weblogs with products that I would like to add to the shopping cart. In the “view” template I just added the three blogs in the weblog tag like the following:

{exp:weblog:entries weblog=”tapes|signs|equipment” limit=”1” entry_id=”{entry_id}”}

In the view template I am displaying information like “title” a product “photo” and “description”. The title is the only one that works because all three weblog entries use the field name {title}. How could I make the {custom_image} field work? I tried a conditional like {if weblog = signs} .. but I dont think that is supported.

any ideas?

thank you for this great plugin, Florian

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Hi Florian,

This isn’t really something to do with the plugin, more of a general weblog tag question as the plugin only extends the standard usage of a site and doesn’t interfere with it in any way although I’ll see if I can get the correct answer for you.

I’m pretty sure that the variable you are looking for is {weblog_short_name} so you would need something like :

{if weblog_short_name == "signs"}
Place your custom field name here
{/if}

and so on and so forth for your other weblogs.

Pretty sure that should work as a conditional and get you what you need.

Best wishes,

Mark

       
florian's avatar
florian
395 posts
16 years ago
florian's avatar florian

so easy. Exactly what I needed. I guess I was on the right track but forgot that the weblog is called “weblog_short_name”.

thanks for the reminder Mark. (even though it really didnt have anything to do with your plugin)

Just for reference, I also had problems with copying from the pdf. I had to copy into editor and replace all “.

Thanks for this great plugin and your help, Florian

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen
so easy. Exactly what I needed. I guess I was on the right track but forgot that the weblog is called “weblog_short_name”. thanks for the reminder Mark. (even though it really didnt have anything to do with your plugin)

No problem at all. Glad it’s working for you now.

Just for reference, I also had problems with copying from the pdf. I had to copy into editor and replace all “.

Yep I’m going to look into that as a couple of people have said that now. InDesign must be putting in the wrong sort of quote marks although when I copy and paste here it seems to work fine, not too sure about why it does that.

Hope it all goes well for you.

Best wishes,

Mark

       
florian's avatar
florian
395 posts
16 years ago
florian's avatar florian

Is anybody willing to share the extended code for this plugin which would enable quantities for the shopping cart plugin?

If nobody has extented the plugin yet, is anybody interessted in helping me getting this functionality added?

regards Florian

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen
Is anybody willing to share the extended code for this plugin which would enable quantities for the shopping cart plugin? If nobody has extented the plugin yet, is anybody interessted in helping me getting this functionality added? regards Florian

Hi Florian,

Sorry that I haven’t been able to do this myself sooner. I do have it on my ever growing list of things to do but still unfortunately can’t say when that will be. I would however ask that the code for the plugin isn’t handed out to just anyone as this is a paid product and so I need to just keep a slight eye on where it is ending up. I’m not averse to people paying other developers to help them out and there’s not really anything I can do to prevent this but as this is my product I would perhaps appreciate maybe a signed document from whoever does undertake the work for you to say that they won’t use the plugin anywhere without first purchasing the plugin 😉

That or perhaps I could see whatever solution they come up with perhaps?

Thanks for listening to my rant 😊

Best wishes,

Mark

       
florian's avatar
florian
395 posts
16 years ago
florian's avatar florian

Hey Mark.

I am sure that it wont be a problem to sign a document and I also dont have a problem showing you the solution. I need this functionality for this project so I have to get a developer to help me with it. I dont see why I couldnt give you the update so that you can add it to the plugin for future use.

       
1 2 3 4 5 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.