Jump to content

rebelsheep

Members
  • Content count

    72
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. rebelsheep

    Facebook Shop Module

    Ok, thank you for the advice Gyakutsuki - I will have a look at OSCommerce hooks.
  2. rebelsheep

    Facebook Shop Module

    I'm coding this by getting data via a jquery ajax call which gets that taxonomy data I want by calling a separate php page..... $.ajax({ type:'POST', url:'getTaxonomyData.php', data:{level:level, selected_text:selectedText}, success:function(result){ .... } All works fine, but I want getTaxonomyData.php to use the OSCommerce database functions. How do I access these without putting the whole require('includes/application_top.php'); at the top of the code. How do I use tep_db_query and tep_db_fetch_array as well as getting the variables to the database connection?
  3. rebelsheep

    Facebook Shop Module

    Thanks Gyakutsuki, very useful, I will try your code out. It also highlights an important point - that what I write should use bootstrap to be compliant / relevant.
  4. rebelsheep

    Facebook Shop Module

    Hi burt, That's good advice. Google release their taxonomy as a plain txt file or as an exel spreadsheet - so if I used the speadsheet as the source, then it would be one less step for OSCommerce developers (no need for them to import into the OSCommerce database - should the Taxonomy be updated by Google). So I see your point. Regarding the drop downlist/combo... I think I will strike a balance between simplicity and usability. I think a one plain dropdown box to navigate the taxonomy would be too limited from a usability point of you (great from a simplicity pecrspective, though). Instead I am going to implement a 'Google Category Chooser' dialog - which will allow users to drill down through the 6 levels of the taxonomy via listboxes (pretty much a copy of how ebay does it, who actually use <ul>s to miminic listboxes). If there are integration issues further down the line if rolling it out as a module for the community to use, then I can address them then after feedback from the community. The main issue I can see is the Dialog code - which may need to be standardised and added as a feature for OSCommerce developers in the future (a dialog class??).
  5. rebelsheep

    Facebook Shop Module

    Currently the Google Category field has the GoogleProductCategoryID - the user in the combobox or listbox would see the Category choice itself (with the id as the hidden field / value, when chosen). So the Category would show as something like: Electronics > Electronics Accessories > Computer Components > Storage Devices > Disk Duplicators You can see with the length of some of these why I was considering a dialog box (implementing a treeview) as a solution rather than a combox!
  6. rebelsheep

    Facebook Shop Module

    Hi, I'm currently working on a Facebook Shop module that will push Products from OSCommerce to Facebook. I just need a couple of pointers as to the OSCommerce standards for Module development. ie. Facebook has 'Google Product Category' as a required field for feeds to its shop. So I have modified admin/categories.php file to have an extra, Google Category field. To test it it is currently just a textbox - my next step is to change it to a combobox (linked to a GoogleProductCategory table so users can choose). However I thought of implementing the ability to choose the Google Product Category in a pop up form (acting like a dialogue box) - so users can choose from a scrollable list with a Search box too. Would this implementation be frowned upon for an OSCommerce module? Am I moving too far away from the standards and adding to much customisation / proprietary code using a popup dialogue box?
  7. rebelsheep

    Facebook Shop

    puddlec - just downloaded it - yes, it is currently deceased. Researching other options.... will let you know what I come up with. This... ...isn't quite what I was after, but may prove a useful starting point. Also this: https://storeya.zendesk.com/hc/en-us/articles/203852448-How-to-Import-OSCommerce-to-Facebook
  8. rebelsheep

    Facebook Shop

    Hi, Has anyone recently used a Module to push their OSCommerce shop content to a Facebook shop (as well as having an OSCommerce website)? There is a module that appears to do what I would like: https://apps.oscommerce.com/HV62j&amp;marketing-platform-facebook-store-da But it is from 2013 so I am unsure if it would work with Phoenix. Have others using tried this module recently? Experiences? Is this moule my best shot, or is there something more up-to-date available that Phoenix users are using? TY
  9. rebelsheep

    Create New Account Problem

    Heatherbell - you are right - we don't need Gender do we (can remove this from the Create Account form) - not for our business, if we were selling clothes, say, then I can see why. DOB, again, probably don't need - but may (??) do vouchers on their birthday further down the line ?? Now I know that there isn't a bug in Create Account (as I first thought) - I am happy to start editing it - State / Province can be changed to County etc. Didn't want to start editing the code until I identified the original issue, no point building more code on top of buggy code (it wasn't in the end, fortunately). Thank you for your assistance Heatherbell & JcMagpie.
  10. rebelsheep

    Create New Account Problem

    Ok, thank you, I will consider the best option for us and do some more PayPal research.
  11. rebelsheep

    Create New Account Problem

    JcMagpie - that's great advice! Just so others know if they get a similar issue... I have just identified the problem after speaking to a customer who's transction failed.... Problem is with PayPal Express Checkout (or more specifically how I haven't configured it properly ??) In the Cart we have two routes to checkout. 1. Checkout button 2. PayPal checkout button If the NEW customer chooses route 1. they go through the full 'create an account', choose delivery, choose payment (PayPal), sent through to PayPal and back to the site with a confirmation of what the have ordered - all works ok. If they choose 2. then they are taken directly to PayPal, where I think (from what I could gather from customer) they login to PayPal, make payment, but then site 'hangs'. Even if I can get Option 2 work, I'm not sure how desirable it is... I would rather get the new customer to make an account (so capture all details, like Gender, DOB, tel nos) (and that is why we were getting customer records with this information missing!). Also Option 2 either misses off the delivey charge ( if Instant Update in the PayPal module is set to false) or includes it (if set to true) but in this case gives customer no warning of the delivery charge - it can't do we have just gone straight from cart to paypal with no other options. Am I right in this?? Ditch option 2? If so how do we keep PayPal Express, but ditch their button in the cart (while retaining it later in the Checkout Process after choosing Delivery option)? Is there an option in this in the PayPal module - I have looked, but as yet can't see anything that would do this. Or down I need to get down and dirty and recode the Cart page!?! How are others configuring PayPal / using it on their OSCommerce sites, what is the best way to configure it? As always, thank you for any advice.
  12. rebelsheep

    Create New Account Problem

    Hi JcMagpie, I have implemented the changes you recommended - please can you have a quick look to see if SSL is now fixed on your end of things. Changed htaccess and edited any pages that had any http:// links. Thank you. BTW - does it matter if a website is shown as non-WWW or WWW? Any practical differences or just personal preference?
  13. rebelsheep

    Create New Account Problem

    You have pointed out the issue with SSL on the site before.... When I test the site it is only the home page that isn't ssl - no matter where I am on the rest of site it stays in ssl. This is true for Categories, Products, any where in checkout, Account, Information Pages (contact us, Privacy) - eveywhere (apart from the home page). So I'm not sure how you got to a category level url without the https://. It is also why I didn't give high priority to changing the home page to https://, because, well it was just the home page which wasn't passing / processing sensitive information. However I take what you say as read - just because it behaves like this for me, doesn't mean it is for everyone else, and I will make the home page https:// now. When this is done - hopefully you won't see it dipping in and out of https:// What is the best way to make the home page https:// too.? - in htaccess file? In an OSCommerce file??
  14. rebelsheep

    Create New Account Problem

    Thank you boh of you. Will address SSL and the state/province problem. Will see how we go after that.
  15. rebelsheep

    Create New Account Problem

    OSCommerce - Phoenix v1.0.1.0 Website has been live for a few weeks now. Seems to be a problem with some users and 'Create Account'. We have noticed a significant drop in sales since upgrading (from a very old version of OSCommerce). Looking at the database - there seems to be a problem with new customers creating a new account. Please see screenshot. It shows that some customers are some how creating accounts without filling in the mandatory fields - eg. gender, DOB etc. See customerids 1841, 1844, 1855, 1856. How is this possible, what could be going wrong? Two of these customers report getting past the 'Create Account' stage, to the payment page - where 'clicking Continue (to go to PayPal) wouldn't let them go further'. I have tested the website on desktop and mobile in the following configs and creating a new account and making a purchase has worked for me every time: Windows 10 - Firefox Quantum 68.0.2 Windows 10 - Chrome v. 76.0.3809.100 (Official Build) (64-bit) Windows 10 - Microsoft Edge 44.18362.267.0 - Microsoft EdgeHTML 18.18362 Windows 10 - Internet Explorer 11 v.11.295.18362.0 Android v9 - Chrome v. 76.0.3809.111 on Motorola moto g6 play Is it possible for others to do a quick test on the site: https://notebookrepair.co.uk Perhaps use firstname: Test - so I know that it is you guys testing it, rather than a genuine customer! I haven't changed / modded the code for the checkout process..... should be 'out of the box' Phoenix code. If new customers can't create accounts on our site - this is very serious for us, so any help in identifying the problem is much appreciated. Thank you.
×