Problem/Motivation

Presently there is only one option for Replacement "Add To Cart" button text. but I want to set a text for a production variation and another text for another product variation.

Proposed resolution

Can the module allow several configurations to be made so one can add a configuration for some product variation(s) and save and create another configuration for different product variation(s). This way the first product variation can redirect to 'checkout' and have button text 'Pay Fees' while the second product variation can redirect to 'cart' and have button text 'Pay & Register'.

Comments

chike created an issue. See original summary.

andyd328’s picture

Thanks Ferdinand, I'm happy to look at this - if you have any code please feel free to add to this issue. Otherwise I will put it on my list.

andyd328’s picture

Assigned: Unassigned » andyd328
andyd328’s picture

I was just looking at this and have a question:

Is the aim to be able to change the text per

  1. product variation. ie variations of the same bundle may have different text or
  2. variation bundle

I appreciate you said option 1 in your issue, but I had read it as option 2 when I commented.
Thanks!

chike’s picture

I mean per product variation type.

andyd328’s picture

Status: Active » Needs review

Hi Ferdinand,

I've uploaded a 4.x-dev, can you test it and see if you have any issues.

I ran a number of tests here and it was working without any problems. It goes a bit beyond what you asked for but it covers both your use case, and the use case I thought you might have.

Many thanks, I will wait to hear back from you before releasing an alpha.

andyd328’s picture

Version: 3.3.x-dev » 4.0.x-dev
chike’s picture

Status: Needs review » Reviewed & tested by the community

Hi Andy,

I just installed the dev release and I must say I am completely blown away! I absolutely love the way you did it. It covered my use case and more.

The module is so much more powerful now.

Thanks!

andyd328’s picture

Version: 4.0.x-dev » 4.0.0-alpha1
Status: Reviewed & tested by the community » Fixed

Thanks Ferdinand, I was pretty happy with how it turned out - it feels like a much more integral part of Commerce now it uses the familiar conditions ui, and, as you say, is so much more powerful now.

[Big ups to Fable 5 for doing so much of the groundwork.]

I'll let it sit as alpha for a week or two and, depending on feedback, will turn it into an rc and then a full.

Thanks for your suggestion & feedback :-)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.