Adrian Macneil
  • Member for 9 years, 2 months
  • Last seen more than 2 years ago
Shipping cost based on membership (Expresso Store)?
Accepted answer
1 votes

That is the best way to approach things. The only piece you are missing is that you either need to not display the shipping cost on your cart page, or automatically submit the form when the customer ...

View answer
Problems overriding mod.member_settings.php email_prefs_form and update_un_pw_form
2 votes

Are you writing your own extension? What for? There are plenty of existing extensions which will let you do pretty much anything with members. Perhaps we could better help by suggesting an add-on to ...

View answer
Should I use a channel entry tag pair for quotes?
Accepted answer
8 votes

Yes, a quotes channel is a great idea. We have done something similar to that in countless websites. Sometimes this channel is called "testimonials" or "quotes". This also has the advantage that you ...

View answer
Exp:resso Store - Add Shipping Cost after checkout
Accepted answer
2 votes

There's no way to do this from the control panel, and even the developer API doesn't have an easy way to recalculate/edit an order after it has been placed. The best way to approach this would be to ...

View answer
Direct access to exp_store_stock exp_store_stock_options tables via Expresso Store tags?
2 votes

There are no built in tags to do what you want, but you should be able to achieve this using the EE query module. It sounds like you have a good handle on the database schema, so I will leave writing ...

View answer
Two registration forms with two different member groups
Accepted answer
3 votes

FreeMember 2.1.1 (released today) implements this feature. You can specify the group ID in the register tag: {exp:freemember:register group_id="5"} You can also whitelist group IDs in the register ...

View answer
Difference $_SERVER['DOCUMENT_ROOT'] on ExpressionEngine and PHP
Accepted answer
6 votes

I would avoid using DOCUMENT_ROOT altogether, to avoid issues between servers. The doc root is specified in your apache config, and depending on your apache setup, isn't always guaranteed to give you ...

View answer
Store and Shipping by Category
Accepted answer
2 votes

There is nothing like this built in, so you would need to create a shipping plugin from scratch. If you just need a one-off, and don't mind hard coding the values, you would be best to take a look at ...

View answer
<div> in form preventing layout based on {switch} tag working
4 votes

The {exp:store:product} tag creates a form element. It sounds like the problem is that you have the div set to float left, but because it is inside the form element, it's messing up your layout. You ...

View answer
How can I re-initiate store_product_price_inc_tax when new products are bought in via AJAX
Accepted answer
3 votes

Posting the solution for future reference here. There were two parts to this problem. Firstly, it looks like the template partial which was being loaded via ajax had slightly different code than the ...

View answer
Free ($0) products in expresso-store reports
3 votes

That sounds like a bug, there are no settings which would affect the display of free items. Can you please email support@exp-resso.com and we will follow up for you.

View answer
authentication on EE website from another device
Accepted answer
3 votes

I think this question is a little vague, you need to clarify what exactly you are trying to do. I'd also question whether EE makes a good backend for any sort of mobile app, you are probably better ...

View answer
How to check the EE version number via PHP?
1 votes

You can use $this->EE->config->item('app_version') which returns a string like 253. I'm not sure whether this is the most reliable way to determine the version number though, or whether it's ...

View answer
Can I toggle sales tax exemptions in Exp:resso Store templates?
Accepted answer
2 votes

You would need to do this using an extension. For example, you could use the store_process_product_tax hook to check the member variables, and change the tax rate being applied to all products. ...

View answer
Can Exp:resso Store sell bundles of products?
Accepted answer
4 votes

Since products are stored as channel entries, it's really easy to create bundles of product using Playa, or even standard EE relationships. Remember you can have multiple product channels. For ...

View answer
What happens to old Non-Commercial Licenses now that EllisLab doesn't sell these anymore?
18 votes

Any existing non-commercial licenses have been automatically upgraded. As stated in their blog post ExpressionEngine License Simplification: Previous license types have been upgraded for free. ...

View answer
How can I manually parse template code from PHP?
Accepted answer
14 votes

I'm not familiar with Widgets, so this may or may not be helpful. If you are writing a plugin, generally you don't need to parse your own template code. Simply call: $variables = array(array('name' =...

View answer
Store: Can I create shipping zones?
Accepted answer
5 votes

It's not possible to do using the CP. However, it's possible to write a simple shipping plugin, and group your shipping rules for various countries. For example, you could put this into a file named ...

View answer
Expesso Store - ratings / reviews add-on?
5 votes

Since Store uses channel entries to store product details, you can use any EE rating/review modules with it. Some of the more popular options are: Solspace Rating DevDemon Channel Ratings Solspace ...

View answer
Using Expresso store and trying to hardcode weight of UPS shipment
3 votes

You could simply hard code this in the shipping plugin. You need to remember not to replace this file when you upgrade Store though. Open store/libraries/store_shipping/store_shipping_ups.php, and ...

View answer
Store: Customizing reports
Accepted answer
2 votes

There's currently no way to change the reports available in the back-end. That said, all of the order information is available to you using the {exp:store:orders} tag, so you are free to create any ...

View answer
Expresso Store - possible to add 'OUT OF STOCK' to size drop down?
Accepted answer
8 votes

The main problem is that options don't always have a direct mapping to a stock level. For example, if your products have both "Size" and "Color", it doesn't make sense to say "Red is out of stock" - ...

View answer
Store PayPal not working
Accepted answer
3 votes

As Justin mentioned in the comments, it sounds like there are some errors on your page which you haven't templated. As a first step, always remove error_handling="inline" from your checkout tag, to ...

View answer
CP Lockout based on IP alone?
Accepted answer
4 votes

It's normal that EE restricts logins based on IP address. Restricting on user agent wouldn't be much use, because a malicious script could just change the user agent for every request. That said, the ...

View answer
Plugin help; Cannot redeclare fatal error
Accepted answer
8 votes

You shouldn't be declaring functions inside your __construct() method. Move sliceurl a bit further down, and call it using $this->sliceurl (since it's part of your class): class ...

View answer
How to force a shipping error if option is not selected in Expresso-Store
3 votes

Simply add require="shipping_method" to your template: {exp:store:checkout require="shipping_method"} <select name="shipping_method"> <option value="">Select collection or ...

View answer
How to import data in EE?
Accepted answer
6 votes

Generally the best option is to use DataGrab. It can import from CSV files, as well as XML and other formats. The field_ft_x column stores the field "type". This is different from the fieldtypes you ...

View answer
Paypal Express Checkout
Accepted answer
1 votes

It sounds like you're in the wrong place in the Paypal settings. There is no "third party permission username". Take a look at the instructions to set up Paypal Express with Store: PayPal Express ...

View answer
How to manage EE Cache files in Git?
9 votes

The other answers are going about this a slightly convoluted way. You don't need a special .gitignore in each folder, and that makes it hard for other developers to figure out what's going on (or you ...

View answer
Logger.php throwing PHP errors
Accepted answer
2 votes

The best way to diagnose PHP errors is to dig into the code and report the culprit. Do this: Open system/expressionengine/libraries/Logger.php At line 120 (right before your first error message), ...

View answer