Search found 53 matches

by swpierce
18 Nov 2015, 02:11
Forum: Help
Topic: Prompting for postal code in basket
Replies: 2
Views: 2204

Re: Prompting for postal code in basket

Makes sense. I've used quite a few sites where there is an option to estimate shipping prior to going through the checkout process, but I've used just as many sites where there's not. What we decided to do is to make the user registration process include setting a default address. If the user is log...
by swpierce
17 Nov 2015, 19:25
Forum: Help
Topic: Prompting for postal code in basket
Replies: 2
Views: 2204

Prompting for postal code in basket

If I wanted to add a piece to the basket that prompts for a postal code if there isn't one (such as if they are not logged in, or if they are logged in but have no address associated with them), will I need to extend the controller to handle that or can it be done in a more simple manner? For exampl...
by swpierce
17 Nov 2015, 05:06
Forum: Help
Topic: Checkout disabled?
Replies: 4
Views: 3019

Re: Checkout disabled?

Very true. Our customers never buy more than 1 of a given product in any shopping session, though. They do, however, buy multiple products in every shopping session. The block pricing won't work for us. We'll definitely come up with a solution though. :)
by swpierce
16 Nov 2015, 22:28
Forum: Help
Topic: Checkout disabled?
Replies: 4
Views: 3019

Re: Checkout disabled?

Got it. Didn't think about the other plugins. The problem was the ProductPrice plugin. Assuming it was returning false because I was changing the prices. Haven't got to the point of dealing with saved/abandoned baskets yet. It would be nice to have the ProductPrice plugin work in case a product's pr...
by swpierce
16 Nov 2015, 18:29
Forum: Help
Topic: Checkout disabled?
Replies: 4
Views: 3019

Checkout disabled?

I wrote a plugin to automatically discount products in the basket based on quantity. Everything works except that once I've updated the price of the item in the basket, the checkout button disappears. I'd prefer not to use a coupon. Basically, we have 5 or 6 different product types in the store. For...
by swpierce
15 Nov 2015, 21:57
Forum: Laravel package
Topic: Adding a Subpart
Replies: 14
Views: 8410

Re: Adding a Subpart

Got it! I had a typo in the manifest file. Lesson learned: use the extension generator you guys provide ;) Now to figure out how to show products in subcategories when viewing the parent category. Basically, if I'm in Category1 (which has subs of Subcategory1 and Subcategory2), I want to be able to ...
by swpierce
15 Nov 2015, 16:37
Forum: Laravel package
Topic: Adding a Subpart
Replies: 14
Views: 8410

Re: Adding a Subpart

Adding 'ext' to the autoload classmap worked in getting the class to load. but if I leave stuff in the ext directory tree, it is unable to find the templates:

Code: Select all

Template "catalog/list/subcategories-body-default.html" not available
by swpierce
15 Nov 2015, 15:23
Forum: Laravel package
Topic: Adding a Subpart
Replies: 14
Views: 8410

Re: Adding a Subpart

I knew it was something simple I was overlooking! Thanks! One last question on this topic: If I put the code in the ext directory tree, I get: Class "Client_Html_Catalog_List_Subcategories_Default" not available If I put the code in the aimeos-core directory tree, it works. Shouldn't I avo...
by swpierce
15 Nov 2015, 15:01
Forum: Laravel package
Topic: Adding a Subpart
Replies: 14
Views: 8410

Re: Adding a Subpart

Here is my getBody() method: public function getBody( $uid = '', array &$tags = array(), &$expire = null ) { $view = $this->_setViewParams($this->getView(), $tags, $expire ); $html = ''; foreach( $this->_getSubClients() as $subclient ) { $html .= $subclient->setView( $view )->getBody( $uid, ...
by swpierce
15 Nov 2015, 14:02
Forum: Laravel package
Topic: Adding a Subpart
Replies: 14
Views: 8410

Re: Adding a Subpart

Right. In the subcategories-body-default.html file, I basically do the print_r statement like you suggested. I never see it. I have also tried just putting some static HTML in the view instead - that never gets displayed either. Fairly sure the subpart isn't getting called. Thought it might be becau...