Edit Products Attribute whenn in Cart

Open to all! Ask other shopowners for help.
Post Reply
loop
Contributor
Posts: 253
Joined: Thu Mar 25, 2021 12:26 pm
Phoenix Version:
Has thanked: 7 times
Been thanked: 3 times

Edit Products Attribute whenn in Cart

Post by loop »

Hi All
i'm experimenting with the "attributes" if that would suits my needs. My Question is:
  • whenn customer decide a attribute, and add it to the cart, ist it possible in the shoppingcart.php to change the option (so to choose a other option or to disable the option at all), If not already programmed, where would be the starting point there, is there a class/ function to update the attribute?
thanks all!


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Edit Products Attribute whenn in Cart

Post by burt »

That is not programmed as part of core code.
I don't know if there might be an addon that could do it.
I am not here to build for you.
I am here to build with you. Let's help each other.
loop
Contributor
Posts: 253
Joined: Thu Mar 25, 2021 12:26 pm
Phoenix Version:
Has thanked: 7 times
Been thanked: 3 times

Re: Edit Products Attribute whenn in Cart

Post by loop »

One other thing i don't find out at the moment: whenn click on "add to cart" with the ajax_buy module and DON'T select a option (so the option is empty) i get the screen "added to cart" but it does not add to cart. if i select a option it's fine, and the product is added to the cart including option

if i add a product where there is no option active, it's also added to cart with no problem.

so something goes wrong, whenn the attribute is submited (ID) but no value / Empty
admin
Contributor
Posts: 217
Joined: Wed Oct 30, 2019 1:34 pm
Phoenix Version:
Has thanked: 20 times
Been thanked: 22 times

Re: Edit Products Attribute whenn in Cart

Post by admin »

loop wrote: Fri May 13, 2022 9:16 amajax_buy module
Post your question in the module topic.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply