Members Need Help Please Take a Look...

User 187934 Photo


Senior Advisor
20,271 posts

After much testing and trying php and javascript through iframes and direct coding into the shop page, I finally came up with a script that will function but want you to test it on your own site to confirm.
http://progrower.coffeecup.com/shop/cart.php
see attached for proper code.
Attachments:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2279183 Photo


Registered User
13 posts

Still not working if the cart is updated in any way.
User 187934 Photo


Senior Advisor
20,271 posts


Try adding www. to the URL.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2279183 Photo


Registered User
13 posts

Ok added the www and still getting the same results. Not working correctly when cart is updated.
User 187934 Photo


Senior Advisor
20,271 posts

I would take another look at your site because it worked when I updated the cart on it.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2279183 Photo


Registered User
13 posts

It does work. But when more than 1 thing is changed in the cart it doesn't. If someone were browsing and adding a few things to their cart and then decided to change a quantity as well as delete one item - or - delete multiple items it would not work as expected. Is there a way to make your "if" statement and array more versatile and go a few more layers deep. I really appreciate all your help.
User 187934 Photo


Senior Advisor
20,271 posts

Your right, if the page is refresh or changed more then once from the cart. I was already looking at another option but wanted to get you something that worked better.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,271 posts

Here's another option you can try. It's a little more involved.;)
Open a HTML editor.
1. Open the continueshoppingunset.txt and save it as continueshoppingunset.php and upload it to your shop folder.

2. Open the continueshopping.txt and save it as continueshopping.php and upload it to your shop folder.

3.Open the continueshoppingviewcart.txt and copy the code to your view cart page with the HTML tool in your shop. Adjust the URL for your domain, directory structure and where you placed the php files above. You can leave the src's relative if you place them in your shop folder. The link for the referrer in the script in the continueshoppingviewcart.txt has to be absolute. So if your site has a www. use it.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2279183 Photo


Registered User
13 posts

That works well, thank you for the work. I did change the font size to a percentage so it would be controlled by the setting in SCDP. I also had to put in an actual font name because the font-family:inherit didn't work it was using a completely different font and changing color after clicking it as a visited link. Those 2 mods and it is just what everyone needs. Fantastic.
User 187934 Photo


Senior Advisor
20,271 posts

Great! I had a lot of fun messing with it and learned a little php and javascript at the same time. I figured you could adjust the font properties easily if they were built in to the links already. There's some other things that can be done to pass the css style to the php page but I think being able to hard code them in gives more options.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.