Post by maxy » Fri May 09, 2025 9:59 pm

I have one product that has few colors. Different colors have different price. How do I allow buyer to buy 1 from red color and 3 from blue?

Newbie

Posts

Joined
Sun Dec 17, 2023 11:35 am

Post by by mona » Fri May 09, 2025 10:39 pm

Add a red one to a cart and then add three blue to the cart.

There is a base price of $10
The red option is + $2 = $12
The blue option is + $3 = $13
The black option is - $1 = $9

This is for OC2x but the principle remains the same:
https://docs.opencart.com/en-gb/catalog/option/

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by maxy » Fri May 09, 2025 11:43 pm

Thank you. any other way for Version 3.0.3.8 ?

Newbie

Posts

Joined
Sun Dec 17, 2023 11:35 am

Post by JNeuhoff » Sat May 10, 2025 1:18 am

Just define select color options and use then for your product.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by khnaz35 » Sat May 10, 2025 2:35 am

maxy wrote:
Fri May 09, 2025 11:43 pm
Thank you. any other way for Version 3.0.3.8 ?
No principle is same!

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: Majestic-12 [Bot] and 90 guests