4

Something is way off about your approach. You should not need the ob_start() methods if you were to build this properly. If you need a callback method, what you really want to look into is a using a module for a "controller". (For more info on a controller, refer to CodeIgniter's MVC pattern.) So could create an ACT url (http://yourdomain.com/ACT=X) and ...


3

Its hard to say what the local issue would be without any additional information, but here are a few things you might try: Is the request locally going to the correct url? Ajax will fail if for cross domain issues. Make sure the url is exactly the same as the one requested. Make sure that you aren't trying to hit an "https" url locally if you do not have ...


3

Given that the Stash set is inside a loop, the resulting output would repeat your code above multiple times. Thus you would have multiple instance of {exp:stash:not_empty name='br_bulk'} and {exp:stash:br_bulk} in your template. The first instance of each of these will be parsed by EE, but subsequent instances will be replaced with a marker that will later ...


2

Not sure what existing solution there are, but I would just create a real simple plugin with pkg.io. Basically, your constructor method would look like this: public function constructor() { $json = json_encode($this->EE->TMPL->fetch_param('json')); // Now you need to parse the JSON object. This will be unique // depending on what your ...


2

I just want to point out that BrilliantRetail has methods for handling IPN callbacks when creating custom gateways. I would consider using the core methods instead of putting logic in templates or files outside of the ExpressionEngine system: http://docs.brilliantretail.com/3-extending-brilliantretail/payment-gateways/index.html#ipn-methods The PayPal ...


2

I see that you have php preg_match but no opening/closing php tags. Are those elsewhere in the code? If not then add opening/closing php tags and see what happens.


2

A good starting point for an error like this is to reduce your code... remove your conditional line by line until you find the offending line. Also, try this patch posted to a similar EE bug: https://support.ellislab.com/bugs/detail/17989


2

Cartthrob is the defacto standard for commerce within EE3. It uses standard channels for product info which allows you to then use datagrab which you can configure to import your product data. Import once, set Cron jobs to import regularly, use CSV, json or XML as your source. Plenty of resources around for formatting data to import correctly.


1

If its a 500 error there should be something in the log files. Did you turn up all of EE's debugging options? https://gist.github.com/litzinger/5598641


1

You possibly use a new Strip API, but BR is not supported it. I get this errors before, so you can try my patch.


1

The BrilliantRetail catalog tag does not currently allow for changing the number of results to pagination per template. For your use case though I would consider a relationship or using the BR product fieldtype to pull specific products on the main page. We generally setup a home page channel for our clients and allow them to select a few 'featured' products ...


1

You can use BrilliantRetail to generate 'quotes' instead of orders. The quote request would be emailed to admins and the customer. From that point though you would need to handle the actual pricing outside of BrilliantRetail. You can add order notes to the quote that the client would see but currently you can't edit the line item details to add pricing. ...


1

The next order number is set the br_config_data table. Look for the 'label' column with the value 'Order ID' and you'll see the next order id in the 'value' field. You'll want to make sure that its greater than any existing orders in the database since the value is auto incremented.


1

In case anyone else runs into this issue, the problem was resolved by removing the protocol from the site URL in the general settings menu. http://mysite.com became //mysite.com and now all of the assets are being delivered through the correct protocol depending on what section of the site you are on.


1

We are replacing a very faulty Magento store with BR for the exact same purpose. We sell Insurance Education courses, online and classroom. We store the courses as products and of course we have had to make a whole lot of modifications to make our stuff work due to the unique nature of our business but it should work out of the box for you unless you need ...


1

Cartthrob would be the way forward in my eyes. You'd have everything you need (after a few addons are bought). For the events, I'd go with Low Events and set it up in CT as a product channel. You could the use inventory like ticket/seats. Channels - merchandise, standard CT products - membership, CT subscriptions. Re-billing is quite straightforward etc - ...


1

Thanks to @litzinger on Twitter USPS came out with an updated API on July 28th the upgraded BR install seems to have this fixed I am going to be looking into updating this for the client so if you absolutely have to stay on the old version of BR like I do let me know.


1

Have you tried? $ee =& get_instance();


1

I can not speak for BrilliantRetail as I have never used it on a MSM site but you should not have problems creating separate stores completely with different currency, payment accounts, and products with either Store or CartThrob. I would assume the same would be true for BR but I can not speak from experience.


Only top voted, non community-wiki answers of a minimum length are eligible