Forums / Addon Order Total Modules / Better Together Contribution Support Thread

Better Together Contribution Support Thread

Views: 204,516

Results 681 to 696 of 696
6 Jun 2022, 9:50 PM
#681
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Better Together Contribution Support Thread

Hello. I've been using better together, but I cannot make it work for my business the way I need it, and I was wondering if there's a modification that can be added to the module or if there's perhaps another module that does what I need that I'm not aware of.

I'm looking to have product X been given for free only when $Y amount of products A,B,C are present in the cart only.

Thanks in advance for the help! :smile:

M.Valenti
Contemporary Artist - Entrepreneur
http://www.manuelavalenti.com - http://www.byvalenti.com

6 Jun 2022, 10:10 PM
#682
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

Email sent.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Jun 2022, 10:29 PM
#683
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

Better Together does "Buy A get B at a discount" and that's all. I have other modules that do more complicated operations like this.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Feb 2023, 5:03 PM
#684
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Hello All,
I have a fresh install of ZC 1.5.8 running on php8.0. I've installed the better together mod dated 9/19/2022. The discount does not appear during checkout unless I switch back to php7.4. It doesn't work on 8 or 8.1. I also get no error or warning logs. It's possible that I missed an extension when provisioning 8 and 8.1, but they appear to have everything that my 7.4 has except where an extension is not available. Listed below are my 7.4, 8.0 and 8.1 builds

Any ideas ?

Thank you,
John

 [TABLE]
[TR]
[TD]PHP 7.4[/TD]
[TD="width: 130"]PHP 8.0[/TD]
[TD="width: 86"]PHP 8.1[/TD]
[/TR]
[TR]
[TD]    build[/TD]
[TD]    build[/TD]
[TD]    build[/TD]
[/TR]
[TR]
[TD]    libc-client[/TD]
[TD]    libc-client[/TD]
[TD]    libc-client[/TD]
[/TR]
[TR]
[TD]    libc-client-devel[/TD]
[TD]    libc-client-devel[/TD]
[TD]    libc-client-devel[/TD]
[/TR]
[TR]
[TD]    libc-client-static[/TD]
[TD]    libc-client-static[/TD]
[TD]    libc-client-static[/TD]
[/TR]
[TR]
[TD]    pear[/TD]
[TD]    pear[/TD]
[TD]    pear[/TD]
[/TR]
[TR]
[TD]    php-bcmath[/TD]
[TD]    php-bcmath[/TD]
[TD]    php-bcmath[/TD]
[/TR]
[TR]
[TD]    php-calendar[/TD]
[TD]    php-calendar[/TD]
[TD]    php-calendar[/TD]
[/TR]
[TR]
[TD]    php-cli[/TD]
[TD]    php-cli[/TD]
[TD]    php-cli[/TD]
[/TR]
[TR]
[TD]    php-common[/TD]
[TD]    php-common[/TD]
[TD]    php-common[/TD]
[/TR]
[TR]
[TD]    php-curl[/TD]
[TD]    php-curl[/TD]
[TD]    php-curl[/TD]
[/TR]
[TR]
[TD]    php-dba[/TD]
[TD]    php-dba[/TD]
[TD]    php-dba[/TD]
[/TR]
[TR]
[TD]    php-devel[/TD]
[TD]    php-devel[/TD]
[TD]    php-devel[/TD]
[/TR]
[TR]
[TD]    php-enchant[/TD]
[TD]    php-enchant[/TD]
[TD]    php-enchant[/TD]
[/TR]
[TR]
[TD]    php-exif[/TD]
[TD]    php-exif[/TD]
[TD]    php-exif[/TD]
[/TR]
[TR]
[TD]    php-fileinfo[/TD]
[TD]    php-fileinfo[/TD]
[TD]    php-fileinfo[/TD]
[/TR]
[TR]
[TD]    php-fpm[/TD]
[TD]    php-fpm[/TD]
[TD]    php-fpm[/TD]
[/TR]
[TR]
[TD]    php-ftp[/TD]
[TD]    php-ftp[/TD]
[TD]    php-ftp[/TD]
[/TR]
[TR]
[TD]    php-gd[/TD]
[TD]    php-gd[/TD]
[TD]    php-gd[/TD]
[/TR]
[TR]
[TD]    php-gettext[/TD]
[TD]    php-gettext[/TD]
[TD]    php-gettext[/TD]
[/TR]
[TR]
[TD]    php-gmp[/TD]
[TD]    php-gmp[/TD]
[TD]    php-gmp[/TD]
[/TR]
[TR]
[TD]    php-iconv[/TD]
[TD]    php-iconv[/TD]
[TD]    php-iconv[/TD]
[/TR]
[TR]
[TD]    php-intl[/TD]
[TD]    php-intl[/TD]
[TD]    php-intl[/TD]
[/TR]
[TR]
[TD]    php-ioncube11[/TD]
[TD][/TD]
[TD]    php-ioncube12[/TD]
[/TR]
[TR]
[TD]    php-ldap[/TD]
[TD]    php-ldap[/TD]
[TD]    php-litespeed[/TD]
[/TR]
[TR]
[TD]    php-litespeed[/TD]
[TD]    php-litespeed[/TD]
[TD]    php-mbstring[/TD]
[/TR]
[TR]
[TD]    php-mbstring[/TD]
[TD]    php-mbstring[/TD]
[TD]    php-mysqlnd[/TD]
[/TR]
[TR]
[TD]    php-mysqlnd[/TD]
[TD]    php-mysqlnd[/TD]
[TD]    php-opcache[/TD]
[/TR]
[TR]
[TD]    php-opcache[/TD]
[TD]    php-opcache[/TD]
[TD]    php-pdo[/TD]
[/TR]
[TR]
[TD]    php-pdo[/TD]
[TD]    php-pdo[/TD]
[TD]    php-pgsql[/TD]
[/TR]
[TR]
[TD]    php-pgsql[/TD]
[TD]    php-pgsql[/TD]
[TD]    php-posix[/TD]
[/TR]
[TR]
[TD]    php-posix[/TD]
[TD]    php-posix[/TD]
[TD]    php-process[/TD]
[/TR]
[TR]
[TD]    php-process[/TD]
[TD]    php-process[/TD]
[TD]    php-pspell[/TD]
[/TR]
[TR]
[TD]    php-pspell[/TD]
[TD]    php-pspell[/TD]
[TD]    php-snmp[/TD]
[/TR]
[TR]
[TD]    php-snmp[/TD]
[TD]    php-snmp[/TD]
[TD]    php-soap[/TD]
[/TR]
[TR]
[TD]    php-soap[/TD]
[TD]    php-soap[/TD]
[TD]    php-sockets[/TD]
[/TR]
[TR]
[TD]    php-sockets[/TD]
[TD]    php-sockets[/TD]
[TD]    php-xml[/TD]
[/TR]
[TR]
[TD]    php-xml[/TD]
[TD]    php-xml[/TD]
[TD]    php-zip[/TD]
[/TR]
[TR]
[TD]    php-xmlrpc[/TD]
[TD]    php-zip[/TD]
[TD]    runtime[/TD]
[/TR]
[TR]
[TD]    php-zip[/TD]
[TD]    runtime[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]    runtime[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
 
6 Feb 2023, 6:12 PM
#685
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

Do you have all logging enabled (Configuration :: Logging :: Report All Errors Admin and Store)? Those settings are set to "No" by default; change the "Store" one to "Yes" and see if any PHP notices are logged.

6 Feb 2023, 6:20 PM
#686
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

I do have all logging enabled. If I remove a ) or a { or call a var that's not been defined. I get told all about it. This though... crickets...

Thank you,
John

6 Feb 2023, 9:48 PM
#687
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

I just did a test install on a different server on a different host. Works flawlessly. Both zc and better mod are the same files from my dev site. So it's clearly something missing from my php8, 8.1 and 8.2 upgrades. I have the admin version page on the working one. I'm gonna see what I can find..

7 Feb 2023, 3:13 AM
#688
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

I haven't been able to resolve the issue/s with my installs of php8, 8.1 and 8.2, but I did find a solution.

I created another new subdomain and added again zc1.5.8zip. I extracted and got a white screen instead of install. Checked php and was 8.2. So I cleared out the home directory and extracted again while running on php 8.1. Again I got a white screen instead of index or install. Tried again with 8.0. Same result. Finally I set this subdomain to run on php 7.4. Extracted the zc158 and it worked fine, I got the install screen. I then switched to php 8.1 and all is well. Added better together plugin and all is well.

So it seems to be that when I'm provisioning the php8, 8.1 and 8.2 onto the server that I'm missing something. Or something else is happening and it's breaking or corrupting files when extracted. If anyone can shed any light on this I'm all ears (and eyeballs).

Thanks again,
John

8 Feb 2023, 4:37 PM
#689
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

ATTRIBUTES!!!! It's the attributed products causing a problem. I've been at this for three days now. It's not php on the server. I have a working install and then bring in my patched database and the better together module disappears. My linkages are all for attributed products. So the linkage with product id 1119 works on php7.4 when the product id become 1119:34345345kj34jk34kj34, but on php8+ this doesn't work. If I change the linkages to products which are not attributed it works no problem.

Please advise.

Thank you,
John

8 Feb 2023, 5:45 PM
#690
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

I'll fix it in the next week or so.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

8 Feb 2023, 6:10 PM
#691
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Hey Scott.

That's great news! Now I can get on with my life and circle back to this. Trouble is that doesn't fit my personality. Now that I know what the problem is I've zeroed in on includes/modules/order_total/ot_better_together.php. I'm gonna see if I can get this ironed out today, but I do very much look forward to your update.

Thanks again,
John

8 Feb 2023, 6:59 PM
#692
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

Please don't post your own fixes, which are partial and will not work in all cases. I will post the update as soon as I can.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

8 Feb 2023, 7:02 PM
#693
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Right on. Thanks again. ;)

10 Feb 2023, 11:21 PM
#694
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

The plugin has been updated.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

30 May 2024, 12:43 PM
#695
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: Better Together Contribution Support Thread

Just installed the latest version from ZC downloads page and getting the following error logged in checkout

Undefined constant "MODULE_ORDER_TOTAL_BETTER_TOGETHER_ONE_TO_MANY"

I don't see that define in the language file.

What is the text meant to be for that so I can add it?

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

30 May 2024, 2:56 PM
#696
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

It's a database setting. You probably have to remove and re-install under Admin > Modules > Order Total.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.