Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by rudolfl

  1. Hi All, When PayPal express is used, it causes wrong information in Google Analytics. Since checkout_success page is reached from paypal site, PayPal is shown as referral for this particular conversion. It should not be in the picture at all. Quick Google search revealed that checkout_confirmation page should be called with ?utm_nooverride=1 parameter. So, can someone tell me where in PayPal express code I can insert this parameter? As far as I see, PayPal express module does not redirect to checkout_success page. Any help on that matter is greatly appreciated. Thanks, Rudolf
  2. rudolfl

    PayPal express causes Google Analytics problem

    Thanks Harold, I tried your suggestion, will see in a week or so how Google Analytics perform. To be honest, I am not sure about customers being redirected to order_confirmation page. I understand your logic, but this provides customer with one extra step and, potentially, allows them to abandon the order. I prefer for customers to have as few steps as possible. Thanks again, Rudolf
  3. rudolfl

    Upsale modules?

    Hi all, What I would like to do is to get some "upsaling" happening. For example, when user buys, say, an iPad, shop can offer some accessories to go with it. Ot it may work in tandem with "quantity discount" module, prompting customer to buy more items to get discount or free shipping. I am thinking of creating generic "upsale module" interface that will have hooks in shopping cart and at various stages during checkout. Then actual upsale modules can be created to use the interface. Does it sound as a good idea? Anything similar already exists? Any thoughts are appreciated. Thanks, Rudolf
  4. Hi all, I am concerting site from CRELoaded to osCommerce. CRELoaded has a nice feature where one can select existant image from server to be used for the product. As a bonus, images can reside in subdirectories. Is there anything similar for OSC? Thanks, Rudolf
  5. rudolfl

    osCommerce Online Merchant v2.3.3.4

    When can we see 2.3.4? I know you are doing osCommerce in your spare time and you are doing a great job! The reason I ask is because I am moving two more stores to osCommerce and want to know if it is worth waiting for 2.3.4 or just stick with current version and buy responsive template. Thanks, Rudolf P.S. How does one gets involved with development of osCommerce? I may be able to help.
  6. Hi all, Need an advice here -- I want people to talk about my products on Facebook and other platforms. Facebook is main one I am interested in now. I already enabled social bookmarks, but this is not enough. I want to interest customers in sharing. One way is to offer them discount if they do. Two scenarios: 1. Once their order is placed, ask them to share their purchase. If they do, i want picture of product to be placed on their Facebook page together with URL and customer is to get discount coupon (I already have gift voucher/coupon add-on installed). This way I get free advertising and customer will be back to re-deem the voucher. 2. Ask customer to share the product they like. If they do, they will get a coupon to re-deem in the next 24hr or so. So, there are few questions: 1. Is there an add-on that will do what I propose (or something similar to it)? 2. Any other ideas on how to engage customers in sharing the product? Thanks, Rudolf
  7. rudolfl

    Social media plugin advise needed

    OK, I think i figured it out. Facebook has "plugin" for LIKE button and SEND button (LIKE button may combine with SEND one if required). Here is a link for SEND button: https://developers.facebook.com/docs/reference/plugins/send/ Basically, when set up in XFBML mode, there is a way to subscribe to event (user clicked on it), send parameters and receive them when user uses link posted on FB to get back to your site. Rudolf
  8. Hi, all I would like the info box with "specials" to scroll through all of the current specials. Is there an add-on for that? Could not see one in add-ons list. I can implement one, but do not want to re-invent the wheel. Thanks, Rudolf
  9. rudolfl

    Automatically printing order invoices

    Thanks. I think, I sorted out the office end. fetchmail+uudeview+cups Just need to script it out and setup a cron. Should do the job. Rudolf
  10. Hi, all I want to automatically print invoice when order is received. What I have in mind is for shop to create PDF file and e-mail it to a specific address. As I run Linux-server at office, this e-mail can be intercepted by my server and sent to a network printer. Any thoughts on how to implement scheme like that? Thanks, Rudolf
  11. Hi, all I am planning on writing my own module, but want to know how the order total modules are applied. I need to to allow for progressive discount. I can see that there is a "sort order" in each module. Is that how they are sorted? Is highest applied first? I know I can dig through the code, it is just I have too many things in pipeline and I am sure someone knows it and can save me some time. Thanks, Rudolf
  12. I should stop working late at night. Fix for mobile_create_account.php is to replace: <?php echo tep_draw_form('create_account', tep_mobile_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);"') . tep_draw_hidden_field('action', 'process'); ?> with <?php echo tep_draw_form('create_account', tep_mobile_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);"',true) . tep_draw_hidden_field('action', 'process'); ?> Rudolf
  13. Thank you for quick reply. I have fixed mobile_contact_us.php page by replacing: <?php echo tep_draw_form('contact_us', tep_mobile_link(FILENAME_MOBILE_CONTACT_US, 'action=send')); ?> with: <?php echo tep_draw_form('contact_us', tep_mobile_link(FILENAME_MOBILE_CONTACT_US, 'action=send'), 'post','',true); ?> "Normal" site uses same, so, i think, this is a correct fix. mobile_create_account.php is different. It can probably be fixed in same manner, but I do not think it is the right approach. I also do not think it is my SSL server, as I observed same behaviour running on my test server without any SSL. I tried to use tep_mobile_link2() as suggested and it fails, as there is undefined symbol FILENAME_MOBILE. I have not find where it is defined. I also noticed that internally tep_mobile_link() calls tep_href_link(). Will keep digging. I looked at the "normal" site create_account.php. I can not understand how drawing of a form created this hidden field 'formid'. It is present in "normal" site and is missing from mobile one, although underlaying code looks same. Rudolf
  14. Hi, It seems that creation of account fails every time. I am just being returned to the same account creation page. https://secure.hatsfromoz.com.au/catalog/mobile_create_account.php (This is a live site. If you create test account, use descriptive names so I can delete them later). It appears that form on mobile_create_account.php page is missing hidden field 'formid'. As a result, submission of form will fail as creation of account depends on this field. Any idea what is happening? Creation of account on normal site works fine. Just realised I have exactly same problem with mobile_contact_us.php as well. No 'formid' field causes return to same page when CONTINUE is pressed. I think, it is something to do with session hadling, but will have to dig really deep to sort this one out. Thanks, Rudolf
  15. Thank you, Rainer. Your changes work. There is just one minor problem -- mobile_checkout_payment.php <div id="messageStack"> <?php echo tep_output_string_protected($error['title']); ?> <?php echo tep_output_string_protected($error['error']); ?> </div> Should be: <div id="messageStackError"> <?php echo tep_output_string_protected($error['title']); ?> <?php echo tep_output_string_protected($error['error']); ?> </div> Otherwise white writing on white background is not very readable :-) Also, may I make a suggestion? First payment method should always be selected. Existing code loads the page, but none of the radio buttons are selected. Ideally, first one should be selected if no selection is made by the user and then user selection should be retained, but this is a lot of hassle for small gain. I would just set first one to be selected when page is loading. BTW, same issue exists in normal osc shop. Rudolf
  16. On the subject of payment page -- I am battling this one now. There is a problem as I see it. If payment method has multiple fields, those are not displayed correctly. In fact, each field in "$selection" is treated as a "sub-payment" method. I may be wrong, but those fields are normally just additional fields like input field for credit card number. They should be displayed "as is", not an attempt to make each one a radio button. I fixed this one for site I am working on and can supply changes if anyone is interested. On the subject of payment, is there a support for CCGV add-on? (Discount coupons and gift vouchers module) Thanks, Rudolf
  17. rudolfl

    Credit Class & Gift Vouchers (CCGV) for 2.3.1

    Cannot Redeclare Error FIXED. There is a bug in checkout_process.php introduced by CCGV. Find this code: /* CCGV - BEGIN */ if ($credit_covers) $payment=''; $payment_modules = new payment($payment); /* CCGV - END */ Replace with: /* CCGV - BEGIN */ if ($credit_covers){ $payment=''; $payment_modules = new payment($payment); } /* CCGV - END */ Rudolf
  18. rudolfl

    Credit Class & Gift Vouchers (CCGV) for 2.3.1

    Is that just me or there is a big problem in checkout_payment.php? I have 2 payment methods available. i think, problem will not exists if single method is in use. Actually, sometimes it works for two methods too, but thsi is purely by accident. Anyway, two payment methods exist. Select a method, click on "continue" and get a message "please select payment method". Close look revealed that clicking on radio button generates JS error "undefined......". And so does click on continue button. This is the code that causes issue: /* CCGV - BEGIN */ if (!document.checkout_payment.payment[0].disabled) { /* CCGV - END */ document.checkout_payment.payment does not exist. Put some debugging and realised that CCGV contribution added new form (the one where you can re-deem coupon). And this form is named "checkout_payment". Same as main form on payment page. JS can not find right entry in DOM and fails. For the test, I quickly renamed main form and adjusted JS to cope with new name. All seem to work. I iwll now go through CCGV code to fix the issue at the source, but this sort of error should be fixed in contribution. Rudolf
  19. rudolfl

    ULTIMATE Seo Urls 5 - by FWR Media

    I am trying to install the contribution, but have some issues. For some reason, I do not see the "Seo Urls 5" in admin->configuration. I am pretty sure I did the installation correctly. And I did not see anything in installation that inserts this value into DB. Am I missing something? May be it has something to do with the fact I had old SEO URLs installed? "SEO URLs" still exists in database, but when I go there I get an error: Warning: call_user_func(tep_reset_cache_data_seo_urls) [function.call-user-func]: First argument is expected to be a valid callback in /public_html/admin/includes/functions/general.php on line Well, this is expected as this function does not exist anymore. I can see that there is a database installation files, but when are they called? My original DB was done with SEO URLs addon for osCommerce MS-2.2. (I am converting shop from MS-2.2 to 2.3.3) Perhaps, it is not supported? Thanks, Rudolf
  20. rudolfl

    Header Tags SEO

    Thanks! That did the trick. Had to select index.php and allow category in there. Rudolf
  21. rudolfl

    Header Tags SEO

    Hi, all I just installed the Header Tags (converted from HTC). For some reason, categories do not show right title and meta data is not being filled in. Canonical links are present, so something is working. Product info is OK. I checked the category and tags are filled in. Any idea why category data is not being displayed? Thanks, Rudolf
  22. Thanks, Jim, That worked, but not the way expected -- as you hover through menu, page is changing to that category. The idea is to just expand the menu and not to change to it until clicked. Rudolf
  23. I still have the problem where first category is selected when on index page of the site. To fix, find line (in catalog/includes/modules/boxes/bm_categories_accordion.php) $category_active_id = 'false'; and replace with; $category_active_id = 0xFFFFFFFF; I am not 100% sure how it happens in JS, but in other languages, numeric code of 'false' is 0, so first category was selected by default. I set it to the really large number instead. Rudolf
  24. I tried your mouseover trick -- does not quite work as expected. If category has a subcategory, it does not expand. Basically, each menu item expands into empty box on mouseover But I like the idea -- will try to expand on it. Rudolf
  25. Yes, Sorry about that. Should of tested it on virgin install. I am converting my site from MS2 to 2.3.3 and had code to separate retail and wholesale catalog. Removing it should work. Rudolf