Is there any plans for D7 version in the near future now that it's in beta?

CommentFileSizeAuthor
#25 uc_domain.tar_.gz3.78 KBhenk
#3 uc_domain-7.x-dev.zip3.92 KBblazey

Comments

longwave’s picture

Ubercart 3.x for Drupal 7 is still in alpha, but I expect this module shouldn't be too much effort to port to D7 - I don't have any immediate plans but will likely get around to it eventually. Patches or offers of sponsorship are welcome, however!

nadav’s picture

Thanks, i'll see what i can do.

blazey’s picture

Status: Active » Needs review
StatusFileSize
new3.92 KB

Hi,

Drupal 7 version attached. It works but needs testing. All suggestions and bug reports are welcome. Development is sponsored by http://www.meant4.com/

longwave’s picture

Thanks for posting the patch. I will review and make a 7.x-3.x-dev release soon, but I would also like thoughts on the following for the D7 release:

- removing the domain tokens (as this was needed for the old method of processing invoices, which has been replaced with a template preprocess function in 6.x-2.3 and 7.x)

- removing the per-domain payment methods and gateways (as the Domain Settings module can be used to do this with better effect, I think)

vlooivlerke’s picture

testing

NathanM’s picture

Subscribing, will test soon.

missym’s picture

subscribe

Anticosti’s picture

Subscribing

mandreato’s picture

Subscribe

danielm’s picture

Subscribe

enrikito’s picture

Subscribe

enrikito’s picture

Subscribe

liliplanet’s picture

subscribe thx!

prabhakarsun’s picture

subscribing

clashar’s picture

Whether have someone successfully tested patch to work with DA 7.3 and Ubercart 7.3?

Neo13’s picture

subscribing

Neo13’s picture

#3 not workiing... actually totally breaks ubercart invoice system

Alex Andrascu’s picture

Looking forward to see this

ozalee’s picture

For anyone looking for a simple "Domain name" token stored along the order data for Drupal 7, this module is not needed if you use Ubercart Webform Checkout Pane : http://drupal.org/project/uc_webform_pane
Just add a webform checkout pane with a hidden field (value: %site) : that will store the domain name of the website where the order is made.

Then the token will be available on the invoices, emails, etc. Ex : [uc-webform-NidOftheWebform-NameofTheField]

I lost a lot of time on this, hope it will help someone.

Voilà

Deco vintage

lokolo’s picture

Is someone working on this or has a solution?

milovan’s picture

We are also looking into this issue. Our biggest problem is that if we have two subdomains (example sub1.mysite.com and sub2.mysite.com), when we add a product to the cart, Ubercart redirect us to root domain (example: mysite.com/cart). This is a problem, as this cart is empty and the product is actually under sub1.mystie.com/cart.

Is there a solution for this?

jsi’s picture

subscribe

chilligroup’s picture

subscribe

henk’s picture

Now I work on a version to Ubercart 3.0 there is a couple of changes, e.g. hook_domain_form() and hook_domain_conf() changed name. In D7 there is no db_result instead of that should use e.g. db_query_range, Ubercart 3.0 dosen't have some gateway function etc. If I finish i will post my changes here.

henk’s picture

Issue tags: +Ubercart, +drupal 7, +Domian Access
StatusFileSize
new3.78 KB

This is my modification for Ubercart 3 and Drupal 7 I was focused on payment gateway and this works now.
I can help with maintaining this module to D7.

human1101’s picture

Hi Ozalee, i have been trying to get this to work with no success
my intention is to have the sitename show up in the order screen so you can tell what site the order was made in. specially because the way that i have to have the currency setup it doesnt tell me what the currency was that the order was processed in and instead the site that i am looking at it from's currency which makes processing difficult

in drupal 6 i used this module. and it was perfect and handled alot of the things that i have trouble with now

human1101’s picture

Henk, does your update fix the workflow issues? because after the previous version the invoicing was all stuffed up. it would send people invoices that hadn't paid and others wouldnt get them at all

henk’s picture

This module don't support multi-currency, only multi paymant system, diffrent price per domain and diffrent store information.

To turn on this feature, you must go to the Domain settings (admin/structure/domain/settings) and select checkbox "Enable per-domain payment method settings. "

After that you should see per domain (admin/structure/domain/view/1/config) extra settings for Ubercart.

human1101’s picture

If that was directed at me, the payment settings are able to be set using the regular domain settings module from domain access. what i liked most about the uc_domain module was the fact that it exposed the site name to views so i could display it on the orders page and could see what domain the order was from. i never used it for multicurrency

henk’s picture

Yes, but your domain settings doesn't show up in your checkout in default, Ubercart use global variable for get payments gateway, uc_domain module check domain settings for payments and alter checkout per domain.

In the same way you can use domain settings to set store name, e-mail or adress.

Regards,

dariogcode’s picture

I tried #25, but it doesn't appear to control the order domain, for example, admin should only see oder in current domain (or his domain assigned). Thanks anyway for the work!

human1101’s picture

I managed to use a token to display the site name to the order view page but it took so long to load the page that sometimes it simply failed to load at all

sibro’s picture

I need to install the module. Is it usable for production

gaijinu’s picture

Issue summary: View changes

Tried #25 too, when clicking on "Submit order" I get this:

"Fatal error: Call to undefined function uc_store_token_values() in /home/zzz/public_html/zzz/sites/all/modules/uc_domain/uc_domain.module on line 341"

I guess they changed the name of uc_store_token_values() into something else. However the order gets placed. Clicking on "Invoice" tab gives the same error:

Fatal error: Call to undefined function uc_store_token_values() in /home/zzz/public_html/zzz/sites/all/modules/uc_domain/uc_domain.module on line 341

bobburns did some digging here:
https://www.drupal.org/node/2561395
Maybe someone with more programming skills can use that info to come up with a working version?

Cheers

bobburns’s picture

gaijinu;

Drupal is a doacracy (do it yourself democracy - a.k.a webchick's credited call) - if you read the code of the uc_domain.module and as I laid out as to issues above in https://www.drupal.org/node/2561395 - you can fix it

avpaderno’s picture

Title: Drupal 7 » Port the module to Drupal 7
Version: 6.x-1.1 » 6.x-1.x-dev
Category: Task » Support request
Status: Needs review » Fixed
Issue tags: -Ubercart, -drupal 7, -Domian Access

Status: Fixed » Closed (fixed)

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