Zen Cart Logo
Forums / Managing Customers and Orders / Delete images uploaded

Delete images uploaded

Views: 998

Results 1 to 9 of 9
17 Jun 2015, 21:27
#1
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Delete images uploaded

Never came across this issue and/or question.

Is there a way to delete images uploaded to an order while customer is shopping?

For example, a customer uploads 5 images to a product his/her is going to order. Then it goes back and want to delete 1 or 2 of those images, how can he/her do it?

18 Jun 2015, 00:24
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Delete images uploaded

Have you an URL to this Product so we could perhaps see how this is setup? :lookaroun

18 Jun 2015, 14:18
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Delete images uploaded

Other than to restart the adding of the product to the cart with a new set of images, I really cannot think of a way ...

You could add a link in the Product Description to make it easier, such as:

<a href="http://www.your_domain_name.com/store/index.php?main_page=product_info&cPath=1_8&products_id=266">Rest Product Images</a>

then include some information about adding to the cart and deleting the Product with the images that they do not want ...

This isn't the most elquent way to work with this Product but it works ...:lookaroun

18 Jun 2015, 14:36
#5
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: Delete images uploaded

My idea was... instead of having 20 images upload button (since most likely won't happen that often), having only 5 so they can go back and add more (it works, I've tried it). Using same buttons they can upload more images, the problem is that if they upload 8 images for example, there are going to be 2 images on the other 2 buttons that are going to be re-uploaded; which is not needed. Maybe having a "delete" or adding "none" per button would be great. I didn't see any module to accomplish this solution.

18 Jun 2015, 14:45
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Delete images uploaded

This happens because when you go from the Shopping Cart back to the Product it includes the previous settings of the images ...

Having the Reset link is a quick way to "clear" the previous images so additional ones can be loaded ...

To better understand this:

1 add the 5 images to the Shopping Cart
2 go back to the Product via the Shopping cart and just click the Add to Cart ... now you have Qty 2 in the cart ...

Change the quantity to 1 and update ...

Now go back to the Product via the link in the shopping cart and you will see the 5 images ... Manually edit the URL and remove on the products_id everything from the colon ( : ) including the colon and you will see that the images are not listed ... Now just add 2 additional images, different from the first 5, and click Add to Cart and you will see the 7 images, 5 on one Product and 2 on the other ...

Again, this is the idea behind the Reset Product link that I gave you, to provide the customer will an easier method to add additional images ...

18 Jun 2015, 15:24
#7
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: Delete images uploaded

You are saying to go back to the item but without the session on the url. So a "Recent Viewed Items" there should work? Or maybe an "Add more images" button. Right?

18 Jun 2015, 15:42
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Delete images uploaded

Actually what you are removing is the prid on the products_id that associates it with what is already in the cart ...

Add 5 images and click Add to cart then click the link back to the product and you will see on the URL:
/index.php?main_page=product_info&products_id=266:caaed423584536788702b76830791a5f

The part in RED is what associates the the Product with the specific Product in the cart with the images, if you remove the
:caaed423584536788702b76830791a5f
from the URL you have just the Product without the previously added images ...

For convenience, you can add something in the Product Description with a link to the Product to reset the Product so that the next addition of images do not have the duplicate images from the images already in the cart ... you just word the link so it is easily understood by the customer why they should click that link to add more images ...

18 Jun 2015, 16:13
#9
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: Delete images uploaded

Got it! :wink: