64 comments found.
Will this work in an iframe ?
If all the code from the store is included in the iframe, this should not be a problem.
Thanks – do you have an example link that I could try ?
The live preview is for example in an iFrame – https://preview.codecanyon.net/item/tiny-storage-cart/full_screen_preview/20869801
Hi scheibo! I need support please. Could you help me?
Sorry, but I can’t offer any support for the product at the moment, because I have to focus on other things
Will this cart work in php 7.1 framework?
This is a pure Javascript shop. The included PHP file is for demo purposes and can be customized according to your needs.
The demo file also works with PHP 7.1.
Great script, I’ve made some modifications that enable me to “Select Only One” of the checkboxes on a product page. The issue is that if a user clicks Checkbox #1 , then clicks Checkbox #2, the value in Checkbox#1 should be cleared when shown in the cart. How do you recommend solving that issue in the script?
Thanks
This should actually be implemented with a radio element. This is not yet supported. I will try to release a new version next week, where this is possible.
I have now implemented the function. If the code is through the review, this should work with version 1.5.0 as desired.
You can watch the demo here: https://demo.tinystoragecart.com/product5.html
Beautiful, look just what I need, except; I have individual HTML product pages for each of my products (about 25) to which I wanted to add a “Buy Now” button (with product options). Q1: Can I just use parts of your theme (like your ordering option as seen on https://preview.codecanyon.net/item/tiny-storage-cart/full_screen_preview/20869801?_ga=2.190920682.1113202592.1561986675-125944783.1561814979) and add it to my individual HTML Product pages? Q2 I use “Square” payment, which offers an API integration. Possible to have Square added to your checkout payment options? Thank you.
Since it is a pure Javascript shop, you can customize the HTML on your pages as you like. Only the data-attributes must remain. Thus nothing stands in the way of embedding on your own pages.
The adaptation to “Square” would then have to be adapted by yourself in the PHP file. With some knowledge this should not be a problem.
Wow, I only got notified by envato today about you reply. That’s poor portal service
Anyway, nothing You can do about. But thanks for your reply, much appreciated. I’m currently struggling with getting my site up and when ready for your cart, be in touch. I may need your help in integrating the PHP part, though.
That said. “Square” is dead. They took my money and won’t pay. Read a lot of similar stories in reviews about Square and would like to warn Anybody considering Square. Not the kind of business partners you want to have on your side.
I asked a question 19 days ago…
Before I buy, can you limit quantities? If I only have 2 of a product?
The easiest way to do this is to limit the input field. Otherwise, you can include a query in the PHP file which should do the validation.
In the script itself this is not defined. I take this with on the feature list.
How do I get the items out of the shopping cart? I don’t understand how to call the functions in checkout.json.php to collect the cart items and place in the mail script.
Thanks for you help. Dave
What exactly don’t you understand?
A JSON will be sent to the PHP file, in the PHP file you can do what you want with the data. You can also program your own query/evaluation.
Can’t integrate with WordPress because of RequireJS mostly..(
I think this is more of a Wordpress problem than a RequireJS problem. What exactly is the problem? What are the error messages in the browser’s console?
Hi, again! Thank for a module not paying attention am I able to use it or not
but it’s still very useful for small sites and even html one. I’m surprised why there is just a few of similar apps available.
The problem is not the wp-based but seems to be not comfortable with one plugin that is must have for that site.. wpDataTables
Have created several test pages: - Add to cart button on a page with wpDataTables table http://b.link/111_test (scripts loaded after all other scripts) - Cart page (tables scripts not used here) http://b.link/111_cart2
Any suggestions?
Your markup seems to lack the HTML element with the class `headerbar__content` and the one for the notifications. Can you add this once and test it again?
very beautiful code – thank you – would like to have a <textarea name=”...”></textarea> in the checkout – could easily add it myself but am not sure how to implement it in the checkout.json.php
Excellent script & super support!
Hi! In checkout page I need add two possible additional cost to shiping: “Europe +15€” and “International Shipping + 25€”
<select> <option value=”1”>How add this?
Thank’s for all!
Hi, you can use this:
https://gist.github.com/scheibome/f427ef4673285e8a36c3b4c8391d09adHi! Excellent Script!
I have only a one question: How include “total price” in PayPal Button Buy Now? For example, I used this variable but no working to me:
<input type=”hidden” name=”amount” value=”data-cartcheckoutfullskeleton=’{fullprice}’”>
Hi, thank you.
Use the HTML line from the link below into your HTML. And add the main.js line into your main.js after line 146:
https://gist.github.com/scheibome/e53d0f10a6e0f6b29d6e0619fe3dcf73#file-main-jsLet me know, if it works or not.
Woa! Working fine 
I LOVE tihs script!
Hi, can this work in DNN (Dot Network Duke)
Unfortunately, I don’t know the system. If Javascript and HTML is displayed in the browser, it should not be a problem, because the CMS behind it should not be the problem.
i will like to talk with you. are you on skype?
Hi ! I integrated with success your cart into my website. 2 questions :
1- Is it possible for the default value in the dropdown menu to be passed into the cart instead of nothing when the default word (ex.: Select) is in place ?
2-For the checkout.json.php script, after configuring the emails at the end of the php script and pointing directly on it from the form, I dont have any activity… do you have a tip for this to work ?
Thank you
I tracked the data variable in the javascript: {submit 3”,price cube\”}”,propertieshash“}]}
It’s the php that returns a 500 error. Permissions are 644 for the script and 755 for the folder.
Thanks for replying !
note : the data variable is longer but it does not show in my reply…
Does php correctly work on your machine?
Yes PHP 5.2 on Linux. Does the script work on your side ?
Can you update your PHP-Version?
Your PHP-Version is outdated and over 7 years old – http://php.net/eol.php Here you can find the supported versions. http://php.net/supported-versions.phpPhP 7.0 did the trick ! Thanks !
p.s. Is it possible for the default value in the dropdown menu to be passed into the cart instead of nothing when the default word (ex.: Select) is in place ?
Can you send me a screenshot, or explain in more detail what should happen, so that I understand it correctly?
You can give the default in the select a value, which will be taken over.
At what address can I send you a screenshot ? It will be easier to understand with a nice image.
Also, What is the javascript function to empty the shopping cart ?
Thanks !
Sorry about the late answer. To empty the cart, you can simply use localStorage.clear();
Please send the screenshots to m2v.support@tinystoragecart.com .
Hi! I want to buy your basket.
I have a question… Can I add to cart items (accessories) which it is possible to add to the order directly in the basket, without leaving it and without rebooting it
on a screenshot I have tried to explain)
https://imgur.com/NRAix8Rthanks for answer!
I am testing it and will be able to give an answer here in the next few days. Theoretically it works, for this a small adjustment to the script might have to be made.
Hi, I submitted a new version (1.4.0) for review, which should be released in the next few days and includes this feature.
It can already be seen on https://demo.tinystoragecart.com
Hi!
Thanks for the answer!
When can I buy an updated version?
And one more question, when pressing the submit button the email goes with all data to the administrator (in a cart there is a ready form of sending the email) ?
The new version has just been released and can be downloaded.
Yes, it contains a PHP file, which sends the order by e-mail.
Hi!
I have bought a cart and I can’t find where to change the administrator’s email.
What line in the file checkout.json.php ?
Hi, from line 260 to line 277 is the setup for the mail
Where to enter the email here ? ))
$request_body = file_get_contents(‘php://input’); if($request_body) { $data = json_decode($request_body, true); // call validateForm() with $data as parameter $response = validateForm($data);
// if form validation succeeds, we try to add the data to the structure field
if(isset($response['success'])) {
$response = sendOrderMail($data);
}
echo json_encode($response, ARRAY_FILTER_USE_KEY);
}
// Multiple recipients
$to = 'johny@example.com, sally@example.com'; // note the comma
// Subject
$subject = 'TinyStorageCart Order subject';
// To send HTML mail, the Content-type header must be set
$headers[] = 'MIME-Version: 1.0';
$headers[] = 'Content-type: text/html; charset=utf-8';
// Additional headers
$headers[] = 'To: Mary <mary@example.com>, Kelly <kelly@example.com>';
$headers[] = 'From: TinyStorageCart <birthday@example.com>';
$headers[] = 'Cc: birthdayarchive@example.com';
$headers[] = 'Bcc: birthdaycheck@example.com';
I did’t have this in my file!
Where does this insert at the end of the file?
all code here – https://jsfiddle.net/s1y2dn8v/
Sorry, there must have been a problem with the zip of the files. Here is the link to the code. I will provide a new version
https://gist.github.com/scheibome/6ebf1bc7ecc1b0ffccb18db490550394thanks ! ))
Hi I copied all the code from the page checkout.html
Added all styles and scripts, but no products are added
What could I miss?
Please help!
The cart page is located here – ruwolkinzcom.1spa.by/checkout.html
Can you remove the Piwik code at the bottom?
How do I get products to test in the shopping cart? Where’s the page for that? Or should products only be added via this page?
Yes, I deleted the Piwik code
Page with goods – ruwolkinzcom.1spa.by/accessory.html
Also in the browser console errors
In my opinion, the ID “headerbar” is missing in the header of the list view.
Which PHP version do you use?
Can you update your PHP-Version? I think you use PHP 5.4.
Your PHP-Version is outdated and over 3 years old – http://php.net/eol.php Here you can find the supported versions.http://php.net/supported-versions.php
Yes, I’m using PHP 5.4
updated to version 7.2.8
ID “headerbar” is missing, now I copied your header.
Console errors are still the same
the items like are added, the counter in a cart varies, it is all the same empty ((
You need the notificationwrap incl all item from the demo.
I added notificationwrap , now on the page with the items there are no errors))
BUT there were errors on the page with the cart and cart still empty
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Please clear your browser cache.
I can’t see any mistakes. The shop will work if I test it on your site. If it still doesn’t work, please upload all files you bought here to your server and test it. If everything works then, there are still errors in your current markup.
Feel free to hire me for an integration into your layout.
Thanks!
Now it works!
One more question ))
How to change the order of column in email table?
see screenshot – http://joxi.ru/Rmzep3zc093GGr
scheibo, please tell me how to change the order of the columns in the form of the email and some of them delete
scheibo, please answer me! It’s very important for me!
You have to write the sorting by yourself at the moment. In the next version (2.0.0) there will be this option.
I don’t understand how to do this.
What lines of code should I change?
Hi, looks like a perfect script to me, just what I needed… but can’t get it to work. I have a finished website with a simple list of items for sale and I added your css, js and other code to it but with no result… I must be missing something but can’t figure out what I’m doing wrong…
Hi, what kind of error messages are there in your browser’s developer tool?