Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by peterp

  1. Hi Brian,

    I have done these changes to my localhost test system and it is closer than what it was so thanks for that, however where the individual images are hard coded I would like to have the images that have been setup in the document tab in admin.  I guess what I'm saying is to remove the lines

    <li style="float: left; list-style: outside none none; position: relative; width: 1100px;" aria-hidden="true">
                           <centre><img alt="" src="{$STORE_URL}/images/new images/skechers-men.png" style="width: 1100px; height: 377px;"></li>
                            <li style="float: left; list-style: outside none none; position: relative; width: 1100px;" aria-hidden="true">
                                <center><img alt="" src="{$STORE_URL}/images/source/puma_footwear_-Urban.jpg" style="width: 1100px; height: 377px;"></center>
                            <li style="float: left; list-style: outside none none; position: relative; width: 1100px;" aria-hidden="true">
                                <center><img alt="" src="{$STORE_URL}/images/new images/Sitemaster-Stone-slide-show.png" style="width: 1100px; height: 377px;"></center>


    down to line 65 and replace it with the lines from the "welcome home" document tab in admin. I have a snippet has been setup to allow for multiple home documents as suggested by you on the 19th June. which seems to work however the home page document appears after it but with the images are displayed one after each other and do not slider either. These are the images I wish to display at the top. I have attached a text document of my current main.php which is not the live main.php as the client is still using the live one. The current main.php is on a localhost but it is a copy of the live system except for the changes I have done.

    Hope this helps

    Thanks for your help very much appreciated

    Best Regards


    workgearselect current html.txt

  2. That's great Brian thanks again for your invaluable help. I had thought of starting from a clean Mican skin if that would be easier. The client also needs to be able to see and modify not only the home page bx-slider but also an extra home page. this extra homepage I think can be done via a snippet and I think I've done this before so I will look for it

    Thanks again brian

    Best Regards,


  3. Hi Brian,

    The splash screen is not used and could be completely eliminated and the reason the hard coding was done was the client didn't originally want anything to change they have now changed their minds and want to be able to add and delete images in the top part of the screen,hence my reason to revert back to the bxslider. Basically the code that is controlling to top part of the page is to go and be replaced by other scrolling images that the client will determine, they are completely unable to use any programming language. Point taken about using underscores and will use this in the future. Do you want me to attach the plain text file of the program main.php

    Thanks for the help

    Best regards,


  4. Hi brian,

    I have applied this changes as is suggested in the conversation however there is no change. I did notice that if I run the same documents as in the mican skin but use the foundation skin I get the same result. I did find that the program jquery.bxslider.js did not exist in the foundation skin however the jquery.bxslider.min..js so I used this one which may not be right.

    After all of the changes have been completed the slider does not slide but does show the last image that is defined in the document content it also advances the dots by 1 beneath the image the direction buttons do not work either. I have attached a listing of the main.php program. The client is using version 6.1.15 and doesn't want to upgrade at this point in time.

    Hope you can help me please.

    Best regards,


    workgearselect std.docx

  5. Hi All,

    I have a problem that seems simple enough but unfortunately I cannot figure it out. What is happening is I have setup a set of images that should slide across the screen in the home page document however what happens is that they get all stacked on top of each other so that you only see the last image. I originally copied bxslider from foundation to my skin (Mican) so I think it's all there I have checked various solutions but I must be missing something.

    I hope somebody can help even if there is a better way of doing might help

    Best Regards,


  6. Hi Brian,

    Sorry about the delay in answering I have been caught up in other projects, anyway I have turn on the debug option and rerun the admin but I still get the error message. Please see below the debug display the version is set to 1


    '__client' =>
    'ip_address' =>
    'useragent' => Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
    'session_start' => 1625636262
    'session_last' => 1625636263
    'currency' => AUD
    'admin_id' => 1
    '__system' =>
    'token' => 3d8f2c233cc955a4aab673e2f0fd1c94
    '__admin_data' =>
    'admin_id' => 1
    'customer_id' => 0
    'status' => 1
    'name' => Website Owner
    'username' => peterp
    'new_password' => 1
    'email' => [email protected]
    'verify' =>
    'logins' => 155
    'super_user' => 1
    'notes' =>
    'failLevel' => 0
    'blockTime' => 0
    'lastTime' => 1625636262
    'browser' => Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
    'ip_address' =>
    'language' => en-US
    'dashboard_notes' =>
    'order_notify' => 1
    'tour_shown' => 1
    '__admin' =>
    'user_language' => en-US
    'version-check' => 1
    Any ideas how to stop this error message appearing on the first display of the admin dashboard.
    After the first display the error message doesn't appear again, its just on the very fist display of the dashboard.
    Hope you can help
    Best Regards,
  7. Hi Brian,

    I have done this change but unfortunately the error still appears when the admin dashboard is first displayed, if the user goes to another selection (e.g. products) and then comes back to the dashboard then it doesn't display the version number error again. How do I stop it from appearing in the for instance.

    Best Regards,


  8. hi Brian,

    I think I have fixed it. I uninstalled xampp and then reinstalled it and then did all of the mods again and it seems to have worked.

    Thanks again for all of your help I appreciate it immensely.

    Best Regards,


  9. Hi Brian,

    Thankyou for helping me with this issue. I'm currently using xampp (as localhost) so I'm not really sure how to configure a web server to write error log sorry for my lack of knowledge.

    If you can instruct me as to what I have to do I'm sure I can make it happen

    Best Regards,


  10. Hi Brian,

                 I have tried this code and on one of the locally hosted version of the cubecart when I try to save the snippet all I get is a blank screen and it doesn't go back to the admin screen. I decided to try it on another machine which is using the same cubecart version and it all worked perfectly. what could be the cause of the blank screen happening when i try to save the snippet.

    Hope you can Help,


  11. Hi All,

             One of my clients is running version 6.0.6 and is quite happy and does not want to upgrade at all, however he is getting the warning message in his admin which states "Warning: Your store is not up-to-date v6.4.3 is available but you are running 6.0.6 update now" . How do I suppress this message, he is currently undergoing a software audit and intends to update in the near future but for now wants this message to be removed.

    Thanks for any help

    Best regards,


  12. Hi All,

          I have created  a new document in admin>file manager>documents and what I want to do is have this new document appear in the home page which I realize I can do by checking the home page radio button but unfortunately this then removes the original home page document. Is there a way  that I can have 2 home page documents. I have moved the original home page to display above the logo on the Mican template but obviously when I check the home page radio button in the documents of the new document that I have created this then appears above the logo. So would it possible to have the original homepage document to appear above the logo and then the new document that we have created appear in the original position on the home page at the same time

    Hope somebody can help.

    Best Regards,


  13. Hi Brian,

    Thanks for the suggestion but what I need is that the user will only enter the image from the image/file/manager and this then will be the images that are displayed via the bxslider. I thought I had he slider working but I don't it does not reference the images that were assigned to the top of the page slider that is because the images have been hard coded into the program by myself. The user is not capable of being able to enter any path names and is not a programmer. So what he wants is the ability to enter just the name of the image and then the slider will be able to show the images as he entered. The website I talking about is https:/www.workgearselect.com.au. I thought we could use the editor to add the images to the file that holds them for the 'Welcome To' selection in the documents selection and as the 'Welcome To'  will not be used for a welcome we could use this to hold the required images and display them at the top of the page. The system would have to attach the path to the images the user has selected from the Image File Manager.

    I hope you can help,

    Best Regards,


  14. Hi Brian,

    The adding of a promo banner section sounds like what I'm looking for. As long as the user can easily change the images and the images would appear where they are currently displaying with my hard coded solution. What changes will I need to do so as to achieve this promo banner

    You help is very much appreciated

    Best Regards,


  15. Hi Brian,

            What I have managed to do is have ads and supplier logos slide across the top of the homepage above where the logo and currency and language boxes are, and you are right I have hard coded the images in, however what my client wants is for them to have the ability to change them through the admin>documents selection using the welcome document. Unfortunately they have no idea how to code and will not even try. So is there a way that I can get the welcome document to display the images that they enter in the documents selection. They have also added another document which is called specials and this is used to display specials that are special and not just a on sale item and also could be messages such as free delivery of these items etc and as you cannot have this document turned on as well as the welcome document it presents a problem. The web page is www.workgearselect.com.au this will show what I mean. The sliding pictures are not controlled by the admin>document select it is purely hard coded. 

    Hope this helps if not I can send you the admin url which is a live site.

    Best Regards,



  16. Hi All,

    I have a customer who is using a Mican skin which has been modified so as to have advertising ad sliding across the top of the logo and currency, language boxes, which has had the advertising pictures hard coded which is what they wanted originally,however now they want to be able to change the pictures that are scrolling. If I could replace the hard coded images selection with the ones that are used in the welcome document this I think would solve the issue and they would be able to maintain the images themselves.They already use the documents selection for special deals they are offering which is different to the on sale column.

    I hope somebody can help

    Best Regards,


  17. Hi Brian,

    I have made these changes and I had to also do the same for order received template and it seems to now be working and zeroises the basket. I will be doing further testing but I think everything fine.

    Once again thankyou for your assistance with this issue.

    Best Regards,


  18. HI Brian,

    I have checked the order confirmation as the best I can see is that the source code for the html is as you have indicated I have also checked the email template for order received and that has an error as well probably the same one.

    The code below is some of the Order confirmation email template html source. the highlighted code is what I think you meant.

    <p>Thank You {$DATA.first_name|capitalize}!</p>

    <p>Tax Invoice number {$DATA.cart_order_id} has been received which was placed on {$DATA.order_date}. Please keep this email for your records. It is possible to view the status of your order online.</p>

    <p><a 100="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;table width="><strong>Billing address:</strong><br />
    {$BILLING.first_name|capitalize} {$BILLING.last_name|capitalize}<br />
    {if !empty($BILLING.company_name)}{$BILLING.company_name}<br />
    {/if} {$BILLING.line1|capitalize}<br />
    {if !empty($BILLING.line2)}{$BILLING.line2|capitalize}<br />
    {/if} {$BILLING.town|upper}<br />
    {if !empty($BILLING.state)}{$BILLING.state|upper}<br>{/if} {$BILLING.postcode}<br />
    {$BILLING.country}<br />
    {$BILLING.phone}<br />
    <br />
    <strong>Email:</strong><br />
    {$BILLING.email} <strong>Shipping address:</strong><br />
    {$SHIPPING.first_name|capitalize} {$SHIPPING.last_name|capitalize}<br />
    {if !empty($SHIPPING.company_name)}{$SHIPPING.company_name}<br />
    {/if}{$SHIPPING.line1|capitalize}<br />
    {if !empty($SHIPPING.line2)}{$SHIPPING.line2|capitalize}<br />
    {/if}{$SHIPPING.town|upper}<br />
    {if !empty($SHIPPING.state)}{$SHIPPING.state|upper}<br>{/if} {$SHIPPING.postcode}<br />
    {$SHIPPING.country} </a></p>

    <table border="0" cellpadding="3" cellspacing="0" width="100%">
                <td><a 100="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;table width="><strong>Item</strong></a></td>
                <td><a 100="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;table width="><strong>Quantity</strong></a></td>

    This is just some of the mail template code.

    Is this what you mean.

    Best Regards,




  19. Hi Brian,

    I wasn't using anything like PayPal I was using the direct debit (Bank Transfer) gateway for payment. The processes seem to go through without any hiccups even to the point where the order receipt is displayed when you print or close the receipt and cubecart goes back to the home page the basket still has the amount of the order displayed. Needless to say their are no email sent by the system so I went looking at the email log thinking that this maybe causing some issues. I looked at the email templates and found that the email confirm template seems to have a syntax error in the html which it states ' HTML Content: Syntax error in template " Thank You {$DATA.first_name..."  on line 6 "' I don't know whether this is the problem or am I grasping at straws.

    I have just checked the order received email template and this also has an html error could this be my problem. How do I fix this I haven't change these templates and they are stock standard.

    Any help will be useful as I don't know which way to go or where to even start looking.

    Best Regards.


  20. Hi All,

            I'm using the skin etrend and are using ver 6.2.5 of cubecart and I have just noticed that when an order has been completed and the user goes back to the home page then the basket is not emptied it seems to retain the value of the last order entered.

    I have tried this on different skins including the foundation skin and I get the same result, must be doing something wrong where should I look for the clearing of the basket process.

    If you click on the basket you can see the order just entered and if you haven't noticed that it wasn't zerosing then the new products are added.

    Has anybody else had this issue and if so how do you fix it.

    Any help will be appreciated.

    Best Regards,



  21. Hi Brian,

                I have reviewed the suggested website and yes this extension addresses the following:

    Buy product 1 and get product 2 for free or at a discount rate.

    Buy product 1 and get a free promotional product (as long as the promotional product is in the inventory)

    However if you wish to have buy product 1 and get product 1 either discounted or for free then the only way I can see this would be possible would be to have product 1 cloned in the inventory as the add-ons plugin does not allow for a product the be added to itself.

    I agree the limit to 1 must be enforced.

    My client is not that computer literate so I'm not sure whether he will be able to appreciate how this all works however we will give it a go and see what eventuates.


    Thanks again for your valued suggestions.

    Best Regards,


  • Create New...