Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 09/26/2020 in all areas

  1. Hey, I can't offer any guarantees as i don't have access to the plugin and the developers demo site has been suspended (not sure if hes still active with cubecart). Looking at the plugin info and screenshots the only compatibility issues i predict is layout issues on the customer side. Providing the template side of things for the plugin are not encrypted this can be overcome by converting it over to bootstrap layout and adding any additional styling no problem.
    1 point
  2. Hey, By default the google analytics js is conditional to cookies been accepted so if you don't use the cookies notice or haven't accepted cookies then the code won't run. If you want to run google analytics regardless of if cookies have been accepted then you'll need to remove the conditional statement by skins > amzin > templates > element.google_analytics.php and remove line 1 and 13 like noted below: {if isset($smarty.cookies.accept_cookies) && $smarty.cookies.accept_cookies=='true'} <<< REMOVE THIS LINE {literal} <script> (fun
    1 point
  3. Thanks @bsmither for helping out while i catch some Joys of timezones.
    1 point
  4. Again in cubecart.style04.css, add this rule: .product_list li.product_list_item {background-color: #FFF;}
    1 point
  5. Find the CSS file cubecart.style04.css and add the following: .page-header-sec { background-image: url('xyz'); } where 'xyz' is the location of the image.
    1 point
  6. In the template main.php: Find: <body> Change to: <body background="https://mybikerleather.com/Banner.jpg"> or <body style="background-image:url('https://mybikerleather.com/Banner.jpg');background-repeat:no-repeat;"> Do the same for the template main.checkout.php.
    1 point
  7. Hey @priceisrightsuperstore The store logo is styled by the following classes - .main-logo and .main-logo img in basix > css > style.css starting at line 220 which both have a css rule max-height of 60px. So you will need to modify both of those classes to get you desired look. The "Shop by Category" tab is 50px so the logo is already exceeding the size tab. Also, after making any changes remember you may need to clear your browser cache as well the site cache.
    1 point
  8. There is a CSS rule that is setting the max-height of the logo. .main-logo img { display: block; max-width: 100%; max-height: 60px; } I can't really determine where this rule is at, but it can be overruled by adding a style attribute to the <img> tag: <div class="col-xs-7 col-sm-3"> <a href="{$ROOT_PATH}" class="main-logo"> <img src="{$STORE_LOGO}" alt="{$CONFIG.store_name}" style="min-height: 120px;"> </a> </div> Edit the main.php and main.checkout.php templates.
    1 point
  9. The snippet we will create is as follows: Enabled: Checked Unique ID: [email protected]+ Execution Order: 1 Description: Adds the MPN code to the data made available to Order Summary Trigger: admin.order.index.display Version: 1.0 Author: https://forums.cubecart.com/topic/56026-changing-invoice-layout/ PHP Code: <?php /* Adds the MPN code to the data made available to the admin's Order Index template, Order Summary (Overview tab). * Uses hook admin.order.index.display */ $snippet_addmpn2summary_list_of_items = $smarty_data['products']; foreach($snippet_addmpn2summary_list_
    1 point
  10. THANK YOU! Such a little word "and". I really appreciate the time you spend helping so many here. Going to test it now with the 6.4.0 code and will report, but I don't expect any problem there now. I can verify that your code edit has fixed the 6.4.0 current commit as well.
    1 point
  11. In searchCatalogue(), near line 1795: Find code that looks like: // Manufacturer if (isset($search_data['manufacturer']) && is_array($search_data['manufacturer']) && count($search_data['manufacturer'])>0) { $where[] = 'I.manufacturer IN ('.implode(',', $this->get_int_array($search_data['manufacturer'])).')'; // $where[] = 'I.manufacturer IN ('.implode(',', '\''.$search_data['manufacturer']).'\')'; } Change to: // Manufacturer if (isset($search_data['manufacturer']) && is_array($search_data['manufacturer']) && count($search_data['manufacture
    1 point
  12. CubeCart's "Featured" is actually a random pick from all products whose featured flag is set. Modify the following query to have the database engine pick one random record -or- only have set one product's Featured setting checkbox to a checked state. SELECT * FROM `CubeCart_inventory` WHERE CubeCart_inventory.status = '1' AND CubeCart_inventory.featured = '1'; Take note of the 'product_id' of the returned row. Use it in the next two queries. SELECT `path` FROM `CubeCart_seo_urls` WHERE CubeCart_seo_urls.type = 'prod' AND CubeCart_seo_urls.item_id = $product_id; SELECT `file_id` FROM `CubeCa
    1 point
  13. 1 point
  14. In the admin's template orders.print.php. However, if you have used CubeCart's capability to edit the Order Invoice (admin, Documents, Invoice Editor tab), then CubeCart will use this because it has thus been databased (surviving upgrades). Give some thought to using the editor and Save to the database this version of the Invoice.
    1 point
  15. Is your site publicly accessible?
    1 point
  16. The snippet we will create is as follows: Enabled: Checked Unique ID: [email protected]+ Execution Order: 1 Description: Adds the MPN code from Inventory to the Admin Invoice at Orders Print Trigger: admin.order.index.print Version: 1.0 Author: https://forums.cubecart.com/topic/56026-changing-invoice-layout/ PHP Code: <?php /* Adds the MPN code to the data made available to the admin's Order Invoice template * Uses hook admin.order.index.print */ $snippet_addmpn2invoice_list_of_orders = $smarty_data['list_orders']; foreach($snippet_addmpn2invoice_list_of_orders as &$sn
    1 point


  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...