A Myrtle Walgreens Manager’s Method of Customer Service Angers Me

I’ve been going to the Myrtle Walgreens at least 3 times a month since it opened over 2 years ago and I spend a silly amount of money there.
Last night, on my second visit this week, I asked for 10 dollars cash back before I paid with my debit card. I was given my receipts and 3 or 4 coupons and my shopping bags but not the $10.

But I didn’t know this until I was almost home and I stopped at the corner bodega to buy one last thing, intending to pay with the 10 dollars I’d requested at Walgreens. When I went to pay I had ones and a five in my wallet, no ten dollar bill. I dug into my bag thinking maybe the bill had been wadded up with the receipts and coupons which I’d stuffed into the bottom of my bag – but there was no 10 dollar bill anywhere.

I was close enough to home and also had my dog and was carrying a heavy 12 pack case of diet coke that I didn’t want to turn around and head back up to Walgreens. I figured I could just call them up and settle the matter! I am an optimist by nature but I had doubts I would be believed since it would be a case of my word against the store employee’s. Still, I phoned, got customer service and Brian picked up my call. I told him my story and he said he would check the register if I’d like to call back.

I called back and he said the register came up even and he had also checked the security tapes and the tape showed the sales clerk handing me the 10 dollars. I asked him why would I make up a story about not getting 10 dollars cash back if it weren’t true? A very silly question I admit. There are many reasons for someone to lie about not getting money the main reason being in order to acquire more money. At least he didn’t laugh. He just replied that his information showed the opposite and that was that.

Of course the main responsibility was mine: I should have been more observant. I should have remembered the clerk’s face and name and noticed if he’d handed me the money. But once I got to the line for the register I zoned out and began thinking about work and other stuff. So I didn’t even really look at his face.

So I was a little ticked off at myself I guess but I was more ticked off at that Walgreen’s manager. That he said he had checked the security tapes for the time of my transaction and had seen the clerk hand me $10. Since I had not been handed the money his statement was a false one. I also doubted he’d reviewed the security tape at all. I think he says that to people in similar situations to mine in order to get rid of them. I don’t think it had anything to do with the money – I think it was more important to get rid of me and also shame me a little bit. Conclusion: people can be real dicks and store managers (of large retail chains) are almost always dicks.

Update!

I just wrote this post about getting the minicart from Webstore to show (with cart content intact). Now I’m thinking, using similar methods, what other features of Webstore can I bring into a WordPress theme? For instance, to get the Webstore menu – can I just copy menu.tpl.php into a WordPress theme file named menu.php and then call it with get_template_part(‘menu’);? Would surely be a lot easier than how I currently do it using code I wrote relying on Simple HTML Dom to get the menu! And I wouldn’t get chastised by snotty programmers about SHD using file_get_contents! Ha.

Anyway, I’ll let you know how it goes. But to me, this is very exciting. No doubt if the experiments work out super fast & easy Webstore & WordPress customizations will be possible for practically every project.

Update For the Update:

Sooo, experimenting didn’t go very far. Seems requiring prepend.inc.php is able to get the cart
– probably because at the top of minicart.tpl.php there’s this neat code:
[php] $cart = Cart::get_cart();
$items = $cart->GetCartItemArray(); [/php]

but if you need more you’d have to require webstore index.php. Because it loads the functions for the category menu. I think. Experimenting doing just that however led to an error that read: Template file is missing. Because of course webstore’s index.php was trying to find various template files (like index.tpl.php) in WordPress which I’ve got installed in the root. Webstore is installed in /shop. When I have more time to fool around with this I’ll have time to move WordPress into a sub-directory of the webstore location – like /shop/wordpress… The good news about all of this is that it seems as if the outlook is good. I couldn’t successfully get the webstore menu to show up in my WordPress theme by using get_template_part(‘webstore-menu’); which of course was just a copy of menu.tpl.php…
But I also didn’t run into any PHP errors. Makes me think that if everything is in the right order and place t might work out. One day. I’ll beat this one day!
Happy coding.

Legacy Code Notice

Don’t use:
[php] $cart = Cart::get_cart();
[/php]

Do use:
[php] $cart = Cart::GetCart();
[/php]

get_cart(); can get the cart but it will fill your error logs with statements about using legacy code.

How to get the customer’s LightSpeed Webstore minicart to show in WordPress Theme

For ages I’ve known how to get WordPress stuff to show up in my Webstores. But getting Webstore stuff to show up in my WordPress themes seemed to be beyond me.
I’d tried and tried and given up many times. So today when working on a client project I don’t know what made me try again. I just felt like I knew more now than I did and this time I might be able to do it. And I did it. Amazing.

Enough with the chitter chatter here is how I did it.

Went to (where webstore is installed), opened index.php and found this: require_once(‘includes/prepend.inc.php’);.

Then I made a copy of my_webstore_location/templates/my_template/minicart.tpl.php.

And in my WordPress theme I created a new file called “webstore-minicart.php”.

In webstore-minicart.php I pasted the contents of minicart.tpl.php.

And webstore-minicart.php, after the first < ?php, I pasted require_once('/path/to/webstore_location/includes/prepend.inc.php'); The path to file prepend.inc.php is very important. It has to be 100% correct or you'll get a nasty error or just a white page. You don't want that. If you don't know the server path to your webstore location ( where your webstore files are) here's the easiest way to find it out: create a file named info.php in the same directory where your shop is installed. If it's in /shop place info.php in /shop. In info.php paste: [php] <?php phpinfo();?>[/php] Then load the file in your browser by going to www.your-domain.com/shop/info.php Find PHP Variables and locate _SERVER["SCRIPT_FILENAME"] everything before the actual name of the file is the server path to the file. On one server the path to the file could be /home/user/username/htdocs - just for example. On another server it could be /blah/blahbla/public_html. In any case if you load info.php you ought to be able to find it out. Note: PHP errors will include the path so if you get the path wrong pay attention to any errors that occur. Whew. So now that we know where the file is and how to tell PHP where to find it we can display the minicart in our WordPress theme! [php] <?php get_template_part('webstore-minicart');?> [/php] Unfortunately, I have had to be secretive when it comes to customizing LightSpeed Webstore because there are very large multiple person team companies that do the same work as I do and charge a lot more than I do and get more customers than I do but never ever share their code! So I'm not going to post webstore-minicart.php for you on this site but if you contact me and ask me for it I will send it to you.