Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Disable your ad blocker to continue using our website.
Ask the community for help and support.
ReneH4
Posts: 154 Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times
Post
by ReneH4 » Thu Jul 29, 2021 7:59 am
Some of my customers do not understand that they have to "enter" when they change the number of products in shoppingcart.php.
I think that is obvious, I recently visited a shop that does this automatically, and it's very convenient.
Has someone written a hook for this?
What it should do:
Change product total amount on the fly
Remove product when number changed to 0 (with optionally a popup asking to confirm)
I am running 1079 at 7.4.
Fiber
VIP Member
Posts: 121 Joined: Mon Oct 26, 2020 12:16 pm
Has thanked: 12 times
Been thanked: 19 times
Post
by Fiber » Thu Jul 29, 2021 8:13 am
ReneH4 wrote: ↑ Thu Jul 29, 2021 7:59 am
Has someone written a hook for this?
I am running 1079 at 7.4.
This
one works with attributes, maybe it can be adapted to what you want?
raiwa
PhoenixCart Developer
Posts: 1184 Joined: Sat Dec 21, 2019 8:08 am
: Buy Me A Beverage
Has thanked: 38 times
Been thanked: 102 times
Post
by raiwa » Thu Jul 29, 2021 9:16 am
Fiber wrote: ↑ Thu Jul 29, 2021 8:13 am
ReneH4 wrote: ↑ Thu Jul 29, 2021 7:59 am
Has someone written a hook for this?
I am running 1079 at 7.4.
This
one works with attributes, maybe it can be adapted to what you want?
OP asked for shopping cart, not for product info.
Fiber
VIP Member
Posts: 121 Joined: Mon Oct 26, 2020 12:16 pm
Has thanked: 12 times
Been thanked: 19 times
Post
by Fiber » Thu Jul 29, 2021 9:18 am
raiwa wrote: ↑ Thu Jul 29, 2021 9:16 am
OP asked for shopping cart, not for product info.
oeps overread..
ReneH4
Posts: 154 Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times
Post
by ReneH4 » Thu Jul 29, 2021 9:28 am
Thanks Fiber, but as Rainer says, I would like exactly this on shoppingcart.php.
Fiber wrote: ↑ Thu Jul 29, 2021 8:13 am
ReneH4 wrote: ↑ Thu Jul 29, 2021 7:59 am
Has someone written a hook for this?
I am running 1079 at 7.4.
This
one works with attributes, maybe it can be adapted to what you want?
ReneH4
Posts: 154 Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times
Post
by ReneH4 » Thu Jul 29, 2021 9:31 am
Rainer,
I think this is indeed what I am looking for.
However I do not need the extra + and - button, since they are in core, AND I un-installed them for better vieuw on mobile (horizontal space).
Could you rewrite this add-on and get this working for 1079? Are there any core changes or is it all in a hook-file?
I prefer a hook as you may understand.
ReneH4
Posts: 154 Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times
Post
by ReneH4 » Thu Jul 29, 2021 11:44 am
I have sent you an email through the forum @raiwa .
ReneH4
Posts: 154 Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times
Post
by ReneH4 » Mon Aug 02, 2021 12:32 pm
I installed the (payed) AddOn by raiwa, and it does exactly what it should.
Many of my customers are skilled motorcycle mechanics but many of them are lost behind the screen.
@raiwa 's AddOn gets them a bit closer. Rated *****.
ReneH4
Posts: 154 Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times
Post
by ReneH4 » Mon Aug 02, 2021 4:55 pm
And since I have a new template file, it was time to tweak it a bit more.
It now shows a STOCK-info line of text below the products name. I like this better that the BIG green V or BIG red X :-)
It was a simple tweak, but if anyone wants the code I can provide it.
You do not have the required permissions to view the files attached to this post.