Jump to content

bobdonkey

Member
  • Posts

    101
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by bobdonkey

  1. Hi all

    I have written a routine using MySql and PHP to download and import product lists from my suppliers. It all works fine, and is basically putting items directly into the inventory via transform/staging tables, and populating image_index and category_index tables. It is pretty fast, takes a minute or so to import about 20000 products, I dont want it to take much longer.

    My question is, should I have done it this way, or was there a better way using hooks or builtin Cubecart features and functions? I have basically done it all from scratch.

    Finally, how can I turn the code that I have written into a plugin? At the moment I just put the php files on my server and run using cron.

    Thanks

  2. Hi, sorry to hijack this thread, but I also need to automatically export all my products to Google Merchant. I just want to store the feed file on the server so that google can fetch it, my prices change daily so I cannot do this manually.

    Will the builtin feature, or the plugin achieve this, if so can someone explain the steps?

    Thanks

  3. Hi, I cannot login at all to the admin site, it gives me the CSRF error each time, regardless of browser. This is a local site, I have full access to the server and DB. It was working fine for some time. Latest version.

    Any ideas?

    Thanks

  4. Hi

    The odd thing is that every single line comes out wrong with the same fields mapped to the wrong ones. But I expect that you are right, Excel is somehow messing up the encoding and cubecart doesn't like it.

    RE the images, that is a shame that Cubecart cannot host the images somewhere else, it would save me bandwidth and the trouble of uploading 1000's of images. Though as a plus side, at least I know the images will be available if my site is.

    I think I am going to end up writing my own plugins to handle the import, as I really need it automated as well, but I just want to get a manual import as a backup working first. I'll see if I can get Excel to save in proper UTF-8 encoding format. Just seems odd that CC can read it fine and I tell it to map the fields, and then it gets it completely wrong.

    Thanks for the help.

     

  5. Hi, I am trying to use the import catalog feature, without much success. I have a CSV file, seperated with semi colons. It looks perfectly fine in Excel, with everything in the right columns. But when importing, everything gets completely messed up and in the wrong fields.I think it is to do with the format of the file.

    I did get the import to work using the file from the wholesaler (pixmania-pro), but I need to manipulate the data in Excel and just have the items I want etc. But even with that file, the images don't load when the field is an HTML link to the image hosted online.

    So I have 2 issues:

    1. CSV doesn't work properly, even when matching up the fields

    2. Images don't work if they are HTML links

    Any ideas please? The CSV and the fields I have selected are attached.

    Thanks

    pixpro_feed1.csv

    pixproimport.PNG

  6. Well, not sure about that, but managed to get it almost there. I basically moved the fa-shoppingcart from box-basket.pxp. into main.ptp, into the same div as the small search and hamburger icons.

    Still have 2 issues:

    - Clicking on hamburger shows search as well

    - Icons overlap the logo small screens. Possibly my logo is too large?

     

    Anyway, getting there, at least it will be useable on phones and tablets now.

     

    Has anyone else done a cubecart theme using top-bar from foundation?

     

    Cheers.

  7. Hi there, having some trouble with the foundation top-bar. Works fine when using large screens, but using small screens the basket, search, and hamburger menu icons don't show at all. Site is www.barebonesuk.com, running 6.0.2, started from the foundation theme in 6.0.2. I basically inserted the top-bar code, and moved the logo, basket etc code into it.

    Any pointers please?
     
    My top-bar code is:

    <!-- Top bar-->
    <div class="contain-to-grid sticky">
    <nav class="top-bar" data-topbar role="navigation" data-options="sticky_on: large">
    <ul class="title-area">
    <li class="name">
    <h1><a href="{$STORE_URL}" class="main-logo"><img src="{$STORE_LOGO}" height="47" width="326" alt="{$META_TITLE}"></a></h1>
    </li>
    </ul>
    <section class="top-bar-section">
    <!-- Right Nav Section -->
    <ul class="right">


    <div class="row">
    <div class="right text-center">{include file='templates/box.basket.php'}</div>
    <div class="right text-center show-for-small"><a class="left-off-canvas-toggle button white tiny" href="#"><i class="fa fa-bars fa-2x"></i></a> <a class="button white tiny show-small-search" href="#"><i class="fa fa-search fa-2x"></i></a></div>
    {include file='templates/box.currency.php'}
    {include file='templates/box.language.php'}
    {include file='templates/box.session.php'}
    </div>
    </ul>

    <!-- Left Nav Section -->
    <ul class="left">
    <li class="has-form">
    <div class="row collapse">
    <div class="large-8 small-9 columns">
    {include file='templates/box.search.php'}
    </div>
    </div>
    </li>
    </ul>
    </section>

    </nav>
    </div>
    <!-- End of top bar -->

  8. Hi there

     

    I have bought a certificate and installed, site is accessible with no errors using https, but cubecart 6 won't let me enable SSL in the settings page. I select Yes, hit save, and then it just goes back to No.

     

    Any ideas?

     

    Site is www.barebonesuk.com

     

    Thanks

  9. Hi

     

    I have Cubecart 6 installed, with the default theme. I want to start customising it, I really like the floating menu as per www.cubecart.com, ebuyer.com etc. So I'd like to move the logo, login, search, basket etc to the top and have it float.

     

    Sorry not expecting someone to do this for me, but can anyone point me in the right direction? I don't want to reinvent the wheel if not necessary.

     

    Thanks

×
×
  • Create New...